Table of Contents

Property PlanAs2D

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

PlanAs2D

Gets or sets whether an entity that lies on the floor is read as the shape of the plane it is. False by default, which reads every entity as the shape of space it is.

public bool PlanAs2D { get; set; }

Property Value

bool

Remarks

An entity in world coordinates (POINT, LINE, RAY, XLINE, SPLINE, 3D POLYLINE) lies on the floor where every height of it is nought, whatever its extrusion, which for a POINT or a LINE says only which way its thickness stands. One in the coordinates of its extrusion's plane (CIRCLE, ARC, LWPOLYLINE, 2D POLYLINE, SOLID, TRACE) and an ELLIPSE lie on it where the extrusion is (0, 0, 1) or (0, 0, -1) exactly, or not given, and every height is nought. On (0, 0, -1), as AutoCAD writes a mirrored entity, x is turned over and a bulge negated, the vertices kept in their order, and an ARC from a to b runs clockwise from pi - a to pi - b, from the start the file gives as the arc read in space does: the ARC of radius 10 about the origin from 0 to 90 degrees on it is the clockwise GeoArc2 from (-10, 0) to (0, 10). A part of an ELLIPSE and a SPLINE keep the direction of the file too.

A file DxfWriter wrote from shapes of the plane reads back so as those shapes: a closed LWPOLYLINE with bulges at no elevation is a GeoPolygonArc2, and the same polyline at an elevation of 5 a GeoPolygonArc3 at z = 5. A 3DFACE and a mesh are of space either way.