Method TryToPoint2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
TryToPoint2(GeoCoordinateSystem3, GeoPoint3, out GeoPoint2)
Lays a point out in a frame when it lies on the plane of that frame, using the default tolerance.
public static bool TryToPoint2(GeoCoordinateSystem3 frame, GeoPoint3 point, out GeoPoint2 result)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
pointGeoPoint3The point.
resultGeoPoint2The point in the plane, or the origin when the method returns false.
Returns
- bool
true if the point lies on the plane of the frame; otherwise, false.
TryToPoint2(GeoCoordinateSystem3, GeoPoint3, out GeoPoint2, Tolerance)
Lays a point out in a frame when it lies on the plane of that frame, within a tolerance.
public static bool TryToPoint2(GeoCoordinateSystem3 frame, GeoPoint3 point, out GeoPoint2 result, Tolerance tolerance)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
pointGeoPoint3The point.
resultGeoPoint2The point in the plane, or the origin when the method returns false.
toleranceToleranceThe tolerance: EqualPlanar decides how far off the plane still counts as on it.
Returns
- bool
true if the point lies on the plane of the frame; otherwise, false.