Method GetPointAtDistance
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetPointAtDistance(GeoLine2, double)
Gets the point at an arc length measured from the start of a line segment.
public static GeoPoint2 GetPointAtDistance(GeoLine2 line, double distance)
Parameters
Returns
GetPointAtDistance(GeoCircle2, double)
Gets the point at an arc length measured along a circle from angle zero.
public static GeoPoint2 GetPointAtDistance(GeoCircle2 circle, double distance)
Parameters
circleGeoCircle2distancedouble
Returns
GetPointAtDistance(GeoRectangle2, double)
Gets the point at an arc length measured along the perimeter of a rectangle.
public static GeoPoint2 GetPointAtDistance(GeoRectangle2 rect, double distance)
Parameters
rectGeoRectangle2distancedouble
Returns
GetPointAtDistance(GeoPolygon2, double)
Gets the point at an arc length measured along the perimeter of a polygon.
public static GeoPoint2 GetPointAtDistance(GeoPolygon2 poly, double distance)
Parameters
polyGeoPolygon2distancedouble
Returns
GetPointAtDistance(GeoPolyline2, double)
Gets the point at an arc length measured along a polyline, clamped to its endpoints.
public static GeoPoint2 GetPointAtDistance(GeoPolyline2 polyline, double distance)
Parameters
polylineGeoPolyline2distancedouble
Returns
GetPointAtDistance(GeoPolylineArc2, double)
Gets the point a distance along a chain that may curve.
public static GeoPoint2 GetPointAtDistance(GeoPolylineArc2 chain, double distance)
Parameters
chainGeoPolylineArc2The chain.
distancedoubleHow far to walk, in drawing units; outside the chain it is clamped to the ends.
Returns
- GeoPoint2
The point there.
Exceptions
- ArgumentNullException
Thrown when the chain is null.
GetPointAtDistance(GeoPolygonArc2, double)
Gets the point a distance round a loop that may curve.
public static GeoPoint2 GetPointAtDistance(GeoPolygonArc2 loop, double distance)
Parameters
loopGeoPolygonArc2The loop.
distancedoubleHow far to walk, in drawing units; outside the loop it is clamped to the ends.
Returns
- GeoPoint2
The point there.
Exceptions
- ArgumentNullException
Thrown when the loop is null.