Polyloop
Description:
A Polyloop represent a planar polygon with ordered points.
A Polyloop represent a planar polygon with ordered points.
Remarks:
This class is a loop with straight edges bounding a planar region in space. The loop is represented by an ordered coplanar collection of points forming the vertices of the loop. The loop is composed of straight line segments joining a point in the collection to the succeeding point in the collection. The closing segment is from the last to the first point in the collection. The direction of the loop is in the direction of the line segments. All the points in the polygon defining the poly loop shall be coplanar.
This class is a loop with straight edges bounding a planar region in space. The loop is represented by an ordered coplanar collection of points forming the vertices of the loop. The loop is composed of straight line segments joining a point in the collection to the succeeding point in the collection. The closing segment is from the last to the first point in the collection. The direction of the loop is in the direction of the line segments. All the points in the polygon defining the poly loop shall be coplanar.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Analysis.Polyloop
System.Object
Autodesk.Revit.DB.Analysis.Polyloop
public class Polyloop : IDisposable
| Name | Return Type | Description |
|---|---|---|
| ComputeArea() | double | Gets the area for this polygon. |
| Dispose() | None | Releases all resources used by the |
| GetPoints() | IList<XYZ> | Gets the array of points in the polygon. |
| Name | Return Type | Description |
|---|---|---|
| Centroid | XYZ | The polygon centroid. |
| Direction | XYZ | The direction for the outward normal for this polygon. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |