Table of Contents

Method ToGeoCircle2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoCircle2()

Gets the circle in the plane, as DxfReader reads it with PlanAs2D within the default tolerance: the circle of radius 10 about (0, 0, 0) is the GeoCircle2 of radius 10 about (0, 0); one on the normal (0, 0, -1), as AutoCAD writes a mirrored circle, has the x of its centre turned over. One at a height of 5, or on a tilted normal, does not lie on the floor, and is refused.

public GeoCircle2 ToGeoCircle2()

Returns

GeoCircle2

The circle in the plane.

Exceptions

InvalidOperationException

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

ToGeoCircle2(Tolerance)

Gets the circle in the plane, as ToGeoCircle2() does, within a tolerance, which says whether it has a radius.

public GeoCircle2 ToGeoCircle2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoCircle2

The circle in the plane.

Exceptions

InvalidOperationException

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