PolygonShape

Shape
public class PolygonShape : Shape
Represents an ESRI polygon shape.

Constructors

PolygonShape

#
public PolygonShape(ESRI_TypeCode code, int index, BinaryReader reader)
Create a new shape.
code (ESRI_TypeCode)ESRI Type code.
index (int)Shape index.
reader (BinaryReader)Reader object.

Properties

BoundingBox

#
public override BoundingBox BoundingBox { get; }

ContainsElevationData

#
public override bool ContainsElevationData { get; }

ContainsMeasurementData

#
public override bool ContainsMeasurementData { get; }

ESRI_Type

public ESRI_TypeCode ESRI_Type { get; }
Gets the ESRI type code of the record in the shape file from which this shape was originally deserialized.
inherited fromShape

Index

public int Index { get; }
Gets the shape index.
inherited fromShape

Polygons

#
public List<ESRI_PointList> Polygons { get; }
Gets the polygons this shape represents.

Type

#
public override ShapeType Type { get; }
Shape.Type

Methods

AddToDocument

#
public override void AddToDocument(RhinoDoc doc, ObjectAttributes attributes)
doc (RhinoDoc)
attributes (ObjectAttributes)