Inherits ScriptObject.
Public Member Functions | |
Integer | getNumberOfEntities () |
CurveEntity | getEntity (Integer index) |
Boolean | isClosed () |
Boolean | hasArcs () |
Number | getLength () |
BoundingBox | getExtent () |
Curve | getLinearize (Number tolerance) |
A 2D curve.
CurveEntity getEntity | ( | Integer | index | ) |
Returns the entity at the given index.
BoundingBox getExtent | ( | ) |
Returns the extent of the curve.
Number getLength | ( | ) |
Returns the length of the curve.
Returns the linearization of the Curve.
tolerance | The linearization tolerance. |
Integer getNumberOfEntities | ( | ) |
Returns the number of entities in the curve.
Boolean hasArcs | ( | ) |
Returns true if the curve has arcs.
Boolean isClosed | ( | ) |
Returns true if the curve is closed.