API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Polycurve Class

Represents 3D polycurve geometry, which itself is composed of one or more connected curves. The class offers facilities for iteration through the polycurve, and implements the ICurve interface. Once this class is constructed, it represents an immutable polycurve. The curves that can be obtained during iteration are mere copies of the curves in the polycurve, and mutating them won't affect the polycurve. Please use the PolycurveGeometryBuilder class to build and manipulate this objects of this class. Since it implements IEnumerable, the curves can be iterated using foreach loops, and it supports all of the LINQ operations, and it is possible to build arbitrarily complex queries over the curves of this class.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public class Polycurve : IEnumerable<ICurve>, 
	IEnumerable, ICurve, IEquatable<ICurve>

The Polycurve type exposes the following members.

  Name Description
Public method Polycurve
Creates an empty geometry list
Public method Polycurve(ICurve)
Constructs a polycurve from a curve geometry
Public method Polycurve(PolyLine)
Constructs a polycurve from a PolyLine. The lines are converted to line segments.
  Name Description
Public property EndPoint
Gets the end point of the polycurve
Public property Length
Gets the total length of the polycurve
Public property StartPoint
Gets the start point of the polycurve
  Name Description
Public method Clone
Creates a deep copy of the polycurve
Public method Equals
Determines whether the polycurve equals another polycurve This function only checks for equality among polycurves
Public method GetEnumerator
This method implements the IEnumerable interface
See Also