public Segment IntersectWithSegment(Segment segment) { return(GeometryOperations.IntersectSegments(this, segment)); }
public double DistanceToPoint(Point P) { return(GeometryOperations.DistanceFromPointToSegment(P, this)); }
public Point IntersectWithLine(Line line) { return(GeometryOperations.IntersectSegmentLine(this, line)); }
public Segment IntersectWithLine(Line line) { return(GeometryOperations.IntersectCircleLine(this, line)); }
public bool ContainsPoint(Point P) { return(GeometryOperations.IsPointOnSegment(P, this)); }
public double DistanceToPolygon(ConvexPolygon polygon) { return(GeometryOperations.DistanceFromPointToPolygon(this, polygon)); }
public Point ProjectToLine(Line line) { return(GeometryOperations.ProjectPointOnLine(this, line)); }
public double DistanceToLine(Line line) { return(GeometryOperations.DistanceFromPointToLine(this, line)); }
public double DistanceToSegment(Segment segment) { return(GeometryOperations.DistanceFromPointToSegment(this, segment)); }
public Segment NeareseEdgeFromPoint(Point P) { return(GeometryOperations.NearestEdgeFromPointToPolygon(P, this)); }
public Point IntersectWithSegment(Segment segment) { return(GeometryOperations.IntersectSegmentLine(segment, this)); }
public bool IsPointOnBorder(Point P) { return(GeometryOperations.IsPointOnPolygonBorder(P, this)); }
public bool ContainsPoint(Point P) { return(GeometryOperations.IsPointInPolygon(P, this)); }
public ConvexPolygon(params Point[] points) { this.points = GeometryOperations.BuildConvexHull(points.ToList()); }
public ConvexPolygon(List <Point> points) { this.points = GeometryOperations.BuildConvexHull(points); }
public ConvexPolygon IntersectWithPolygon(ConvexPolygon other) { return(GeometryOperations.IntersectPolygons(this, other)); }