Table of Contents

Method ToGeoPoint2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoPoint2()

Gets the point in the plane, as DxfReader reads it with PlanAs2D: the point at (3, 4, 0) is the GeoPoint2 (3, 4). The point at (3, 4, 5) does not lie on the floor, and is refused rather than flattened, where the AutoCAD bridge's ToGeoPoint2 drops z.

public GeoPoint2 ToGeoPoint2()

Returns

GeoPoint2

The point in the plane.

Exceptions

InvalidOperationException

Thrown when the point does not lie on the floor, a number of its record is not finite, or it is erased.

ToGeoPoint2(Tolerance)

Gets the point in the plane, as ToGeoPoint2() does, as DxfReader reads it within a tolerance, which a point does not need: it gives the same at any.

public GeoPoint2 ToGeoPoint2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoPoint2

The point in the plane.

Exceptions

InvalidOperationException

Thrown when the point does not lie on the floor, a number of its record is not finite, or it is erased.