Table of Contents

Method ToGeoSpline2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoSpline2()

Gets the spline in the plane, as DxfReader reads it with PlanAs2D within the default tolerance: the cubic above is the GeoSpline2 of the control points (0, 0), (100, 150), (200, 150) and (300, 0). One with a control point at a height does not lie on the floor, and is refused.

public GeoSpline2 ToGeoSpline2()

Returns

GeoSpline2

The spline in the plane.

Exceptions

InvalidOperationException

Thrown when the spline does not lie on the floor, the reader reads no spline of the record, or it is erased.

ToGeoSpline2(Tolerance)

Gets the spline in the plane, as ToGeoSpline2() does, within a tolerance, which says which fit points are one.

public GeoSpline2 ToGeoSpline2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoSpline2

The spline in the plane.

Exceptions

InvalidOperationException

Thrown when the spline does not lie on the floor, the reader reads no spline of the record, or it is erased.