oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
oevislib_net.Geometry.DistanceMetrics Class Reference

Static Public Member Functions

static float Distance (Point2D inPoint1, Point2D inPoint2, float inResolution=1.0f)
 Returns the distance between two points.
static float Distance (Point2D inPoint, Line2D inLine, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the absolute value of the distance between a point and its projection on the provided line.
static float SignedDistance (Point2D inPoint, Line2D inLine, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the (signed) value of the distance between a point and its projection on the provided line.
static float OrientedDistance (Point2D inPoint, Segment2D inLineSection, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the (signed) distance between a point and an oriented line.
static float Distance (Point2D inPoint, Segment2D inSegment, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the distance between a point and a segment.
static float Distance (Segment2D inSegment1, Segment2D inSegment2, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the minimum distance between two segments.
static float Distance (Circle2D inCircle1, Circle2D inCircle2, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the minimum distance between two circles.
static float Distance (Point2D inPoint, Circle2D inCircle, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the minimum distance between a point and a circle.
static float Distance (Point2D inPoint, Arc2D inArc, float inResolution=1.0f, Optional< Segment2D > outConnectingSegment=null)
 Returns the minimum distance between a point and an arc.
static Array< float > PointsDistances (Array< Point2D > inPoints, bool inCyclic=false, float inResolution=1.0f)
 Calculates the distances between all the consecutive points of the provided array.
static float Distance (Point2D inPoint, Rectangle2D inRectangle, float inResolution=1.0f, bool inIsFilled=true, Optional< Segment2D > outConnectingSegment=null)
 Returns the minimum distance between a point and a rectangle.