Method ProjectToXLine2
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
ProjectToXLine2(GeoCoordinateSystem3)
Lays this line out in a frame: its origin dropped onto the plane of that frame and its direction laid along it.
public GeoXLine2 ProjectToXLine2(GeoCoordinateSystem3 frame)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
Returns
- GeoXLine2
The line in the plane of the frame.
Remarks
In the floor frame, the line through (0, 0, 10) along (1, 0, -1), heading down at 45 degrees, is laid out as the line through the origin along X. ToXLine3(GeoCoordinateSystem3) puts a line of the plane back.
Exceptions
- ArgumentException
Thrown when the line runs along the normal of the frame, so that its direction has no length in the plane.