Polyloop Class

A Polyloop represent a planar polygon with ordered points.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.AnalysisPolyloop

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class Polyloop : IDisposable

The Polyloop type exposes the following members.

Properties
 NameDescription
Public propertyCentroid The polygon centroid.
Public propertyDirection The direction for the outward normal for this polygon.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodComputeArea Gets the area for this polygon.
Public methodDisposeReleases all resources used by the Polyloop
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPoints Gets the array of points in the polygon.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also