Table of Contents

Method ProjectToXLine2

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToXLine2(GeoCoordinateSystem3, GeoXLine3)

Lays an infinite line out in a frame: its origin as a point, dropping its distance from the plane, and its direction as a vector, dropping the part square to the plane and normalized again.

public static GeoXLine2 ProjectToXLine2(GeoCoordinateSystem3 frame, GeoXLine3 xline)

Parameters

frame GeoCoordinateSystem3

The frame to lay it out in.

xline GeoXLine3

The line.

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.

Exceptions

ArgumentException

Thrown when the line runs along the normal of the frame, so that its direction has no length in the plane.