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
Returns
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
lineGeoLine3The line segment.
pointGeoPoint3The target point; it need not lie on the segment.
toleranceToleranceThe 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
polylineGeoPolyline3pointGeoPoint3
Returns
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
polylineGeoPolyline3pointGeoPoint3toleranceTolerance
Returns
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
polygonGeoPolygon3pointGeoPoint3
Returns
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
polygonGeoPolygon3pointGeoPoint3toleranceTolerance
Returns
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
circleGeoCircle3pointGeoPoint3
Returns
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
circleGeoCircle3pointGeoPoint3toleranceTolerance