Table of Contents

Method GetPlane

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetPlane()

Gets the plane the entity lies in, as AutoCAD's GetPlane: that of its extrusion through its first point where all of it lies in that, as a circle, an arc, a polyline or a text does; else the plane its shapes span, as a 3DFACE's or a SPLINE's. An entity along one line, as a LINE, lies in the plane through it whose normal is nearest its extrusion, the extrusion itself where the line runs across it; a point, in the plane of its extrusion. Points and planes are compared to Default. A class of a type the reader gives no shapes for gives its own, as a HATCH the plane of its extrusion.

public virtual GeoPlane3 GetPlane()

Returns

GeoPlane3

The plane, its origin the entity's first point.

Exceptions

InvalidOperationException

Thrown when the entity does not lie in one plane, as AutoCAD answers eNotPlanar, or has no shape the library reads.