Table of Contents

Method GetPointAtParameter

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetPointAtParameter(GeoLine2, double)

Gets the point at a normalized parameter along a line segment. Values outside [0, 1] extrapolate along the infinite line carrying the segment.

public static GeoPoint2 GetPointAtParameter(GeoLine2 line, double parameter)

Parameters

line GeoLine2
parameter double

Returns

GeoPoint2

GetPointAtParameter(GeoCircle2, double)

Gets the point at a normalized parameter along a circle, starting at angle zero and running counter-clockwise. The parameter wraps, so 1.25 gives the same point as 0.25.

public static GeoPoint2 GetPointAtParameter(GeoCircle2 circle, double parameter)

Parameters

circle GeoCircle2
parameter double

Returns

GeoPoint2

GetPointAtParameter(GeoRectangle2, double)

Gets the point at a normalized parameter along the perimeter of a rectangle, starting at its LowerLeft corner and running counter-clockwise. The parameter wraps.

public static GeoPoint2 GetPointAtParameter(GeoRectangle2 rect, double parameter)

Parameters

rect GeoRectangle2
parameter double

Returns

GeoPoint2

GetPointAtParameter(GeoPolygon2, double)

Gets the point at a normalized parameter along the perimeter of a polygon, starting at its first vertex. The parameter wraps.

public static GeoPoint2 GetPointAtParameter(GeoPolygon2 poly, double parameter)

Parameters

poly GeoPolygon2
parameter double

Returns

GeoPoint2

GetPointAtParameter(GeoPolyline2, double)

Gets the point at a normalized parameter along a polyline, starting at its first vertex, clamped to its endpoints.

public static GeoPoint2 GetPointAtParameter(GeoPolyline2 polyline, double parameter)

Parameters

polyline GeoPolyline2
parameter double

Returns

GeoPoint2

GetPointAtParameter(GeoPolylineArc2, double)

Gets the point at a normalized parameter along a chain that may curve, where 0 is its start and 1 its end.

public static GeoPoint2 GetPointAtParameter(GeoPolylineArc2 chain, double parameter)

Parameters

chain GeoPolylineArc2

The chain.

parameter double

Where to look, between 0 and 1; outside that it is clamped to the ends.

Returns

GeoPoint2

The point there, found along the arcs rather than across them.

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetPointAtParameter(GeoPolygonArc2, double)

Gets the point at a normalized parameter round a loop that may curve, where 0 is its start and 1 its end.

public static GeoPoint2 GetPointAtParameter(GeoPolygonArc2 loop, double parameter)

Parameters

loop GeoPolygonArc2

The loop.

parameter double

Where to look, between 0 and 1; outside that it is clamped to the ends.

Returns

GeoPoint2

The point there, found along the arcs rather than across them.

Exceptions

ArgumentNullException

Thrown when the loop is null.