Table of Contents

Method GetParameterAtPoint

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetParameterAtPoint(GeoLine3, GeoPoint3)

Projects a point onto the infinite line carrying a segment and gets the parameter there, using the default tolerance.

public static double GetParameterAtPoint(GeoLine3 line, GeoPoint3 point)

Parameters

line GeoLine3
point GeoPoint3

Returns

double

GetParameterAtPoint(GeoLine3, GeoPoint3, Tolerance)

Projects a point onto the infinite line carrying a segment and gets the parameter there, within a tolerance.

public static double GetParameterAtPoint(GeoLine3 line, GeoPoint3 point, Tolerance tolerance)

Parameters

line GeoLine3

The line segment.

point GeoPoint3

The target point; it need not lie on the segment.

tolerance Tolerance

The tolerance used to detect a degenerate segment.

Returns

double

The parameter along the segment, or 0 for a degenerate segment.

GetParameterAtPoint(GeoPolyline3, GeoPoint3)

Gets the normalized parameter of the point on a polyline closest to the supplied point.

public static double GetParameterAtPoint(GeoPolyline3 polyline, GeoPoint3 point)

Parameters

polyline GeoPolyline3
point GeoPoint3

Returns

double

GetParameterAtPoint(GeoPolyline3, GeoPoint3, Tolerance)

Gets the normalized parameter of the point on a polyline closest to the supplied point, within a tolerance.

public static double GetParameterAtPoint(GeoPolyline3 polyline, GeoPoint3 point, Tolerance tolerance)

Parameters

polyline GeoPolyline3
point GeoPoint3
tolerance Tolerance

Returns

double

GetParameterAtPoint(GeoPolygon3, GeoPoint3)

Gets the normalized parameter of the point on the boundary of a polygon closest to the supplied point.

public static double GetParameterAtPoint(GeoPolygon3 polygon, GeoPoint3 point)

Parameters

polygon GeoPolygon3
point GeoPoint3

Returns

double

GetParameterAtPoint(GeoPolygon3, GeoPoint3, Tolerance)

Gets the normalized parameter of the point on the boundary of a polygon closest to the supplied point, within a tolerance.

public static double GetParameterAtPoint(GeoPolygon3 polygon, GeoPoint3 point, Tolerance tolerance)

Parameters

polygon GeoPolygon3
point GeoPoint3
tolerance Tolerance

Returns

double

GetParameterAtPoint(GeoCircle3, GeoPoint3)

Gets the normalized parameter of the point on the circumference of a circle closest to the supplied point.

public static double GetParameterAtPoint(GeoCircle3 circle, GeoPoint3 point)

Parameters

circle GeoCircle3
point GeoPoint3

Returns

double

Remarks

The point is projected onto the carrying plane first, then read as an angle about the centre. A point on the axis of the circle is the same distance from every point of the circumference, and there being no nearest one, the zero parameter comes back.

GetParameterAtPoint(GeoCircle3, GeoPoint3, Tolerance)

Gets the normalized parameter of the point on the circumference of a circle closest to the supplied point, within a tolerance.

public static double GetParameterAtPoint(GeoCircle3 circle, GeoPoint3 point, Tolerance tolerance)

Parameters

circle GeoCircle3
point GeoPoint3
tolerance Tolerance

Returns

double