Table of Contents

Method GetRegionShape

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetRegionShape()

Gets the shape of a REGION: its loops and its area and perimeter, read from the ACIS data it holds, the SAT text of its groups or the SAB of the data store of its file (the section ACDSDATA); null for an entity of another type, for a REGION whose data is not there or not readable, and for one whose body is not flat faces of lines and arcs of ellipses.

public DxfRegionShape GetRegionShape()

Returns

DxfRegionShape

The shape, or null.

Remarks

A region AutoCAD 2021 wrote in a box 40 by 30 gives one loop of four lines, area 1 200 and perimeter 140; the same with a circular hole of radius 5 two loops, the circle (a hole) first, area 1 121.46 and perimeter 171.42. A region read from a file is read again on each call.