Table of Contents

Method ToGeoXLine2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoXLine2()

Gets the xline in the plane, as DxfReader reads it with PlanAs2D within the default tolerance: the xline through (0, 0, 0) along (3, 4, 0) is the GeoXLine2 through (0, 0) along (0.6, 0.8). One whose origin is at a height, or whose direction rises, does not lie on the floor, and is refused.

public GeoXLine2 ToGeoXLine2()

Returns

GeoXLine2

The line without ends in the plane.

Exceptions

InvalidOperationException

Thrown when the xline does not lie on the floor, has no direction within the default vector tolerance, a number of its record is not finite, or it is erased.

ToGeoXLine2(Tolerance)

Gets the xline in the plane, as ToGeoXLine2() does, within a tolerance, which says whether it has a direction.

public GeoXLine2 ToGeoXLine2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoXLine2

The line without ends in the plane.

Exceptions

InvalidOperationException

Thrown when the xline does not lie on the floor, has no direction within the vector tolerance, a number of its record is not finite, or it is erased.