Table of Contents

Method GetParameterAtDistance

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetParameterAtDistance(GeoLine2, double)

Gets the normalized parameter at an arc length measured from the start of a line segment. A degenerate segment has no direction to measure along, so the result is 0.

public static double GetParameterAtDistance(GeoLine2 line, double distance)

Parameters

line GeoLine2
distance double

Returns

double

GetParameterAtDistance(GeoCircle2, double)

Gets the normalized parameter at an arc length measured along a circle. A circle of zero radius has no circumference to measure along, so the result is 0.

public static double GetParameterAtDistance(GeoCircle2 circle, double distance)

Parameters

circle GeoCircle2
distance double

Returns

double

GetParameterAtDistance(GeoRectangle2, double)

Gets the normalized parameter at an arc length measured along the perimeter of a rectangle. A rectangle with no perimeter gives 0.

public static double GetParameterAtDistance(GeoRectangle2 rect, double distance)

Parameters

rect GeoRectangle2
distance double

Returns

double

GetParameterAtDistance(GeoPolygon2, double)

Gets the normalized parameter at an arc length measured along the perimeter of a polygon.

public static double GetParameterAtDistance(GeoPolygon2 poly, double distance)

Parameters

poly GeoPolygon2
distance double

Returns

double

GetParameterAtDistance(GeoPolyline2, double)

Gets the normalized parameter at an arc length measured along a polyline.

public static double GetParameterAtDistance(GeoPolyline2 polyline, double distance)

Parameters

polyline GeoPolyline2
distance double

Returns

double

GetParameterAtDistance(GeoPolylineArc2, double)

Gets the normalized parameter at a distance along a chain that may curve.

public static double GetParameterAtDistance(GeoPolylineArc2 chain, double distance)

Parameters

chain GeoPolylineArc2
distance double

Returns

double

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetParameterAtDistance(GeoPolygonArc2, double)

Gets the normalized parameter at a distance round a loop that may curve.

public static double GetParameterAtDistance(GeoPolygonArc2 loop, double distance)

Parameters

loop GeoPolygonArc2
distance double

Returns

double

Exceptions

ArgumentNullException

Thrown when the loop is null.