Table of Contents

Method GetPointAtDistance

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetPointAtDistance(GeoLine3, double)

Gets the point at an arc length measured from the start of a line segment.

public static GeoPoint3 GetPointAtDistance(GeoLine3 line, double distance)

Parameters

line GeoLine3
distance double

Returns

GeoPoint3

GetPointAtDistance(GeoRay3, double)

Gets the point at an arc length measured from the origin of a ray. A negative distance extrapolates behind the origin, off the ray itself.

public static GeoPoint3 GetPointAtDistance(GeoRay3 ray, double distance)

Parameters

ray GeoRay3
distance double

Returns

GeoPoint3

GetPointAtDistance(GeoPolyline3, double)

Gets the point at an arc length measured from the start of a polyline, clamped to the chain.

public static GeoPoint3 GetPointAtDistance(GeoPolyline3 polyline, double distance)

Parameters

polyline GeoPolyline3
distance double

Returns

GeoPoint3

GetPointAtDistance(GeoPolygon3, double)

Gets the point at an arc length measured around the boundary of a polygon from its first vertex. The distance wraps, so going once round and a bit more lands just past the start again.

public static GeoPoint3 GetPointAtDistance(GeoPolygon3 polygon, double distance)

Parameters

polygon GeoPolygon3
distance double

Returns

GeoPoint3

GetPointAtDistance(GeoCircle3, double)

Gets the point at an arc length measured around the circumference of a circle.

public static GeoPoint3 GetPointAtDistance(GeoCircle3 circle, double distance)

Parameters

circle GeoCircle3
distance double

Returns

GeoPoint3