Table of Contents

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

frame GeoCoordinateSystem3

The frame to lay it out in.

point GeoPoint3

The point.

result GeoPoint2

The 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

frame GeoCoordinateSystem3

The frame to lay it out in.

point GeoPoint3

The point.

result GeoPoint2

The point in the plane, or the origin when the method returns false.

tolerance Tolerance

The 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.