Public Member Functions | List of all members
Curve Class Reference

Inherits ScriptObject.

Public Member Functions

Integer getNumberOfEntities ()
 
CurveEntity getEntity (Integer index)
 
Boolean isClosed ()
 
Boolean hasArcs ()
 
Number getLength ()
 
BoundingBox getExtent ()
 
Curve getLinearize (Number tolerance)
 

Detailed Description

A 2D curve.

Since
41366

Member Function Documentation

◆ getEntity()

CurveEntity getEntity ( Integer  index)

Returns the entity at the given index.

◆ getExtent()

BoundingBox getExtent ( )

Returns the extent of the curve.

◆ getLength()

Number getLength ( )

Returns the length of the curve.

◆ getLinearize()

Curve getLinearize ( Number  tolerance)

Returns the linearization of the Curve.

Parameters
toleranceThe linearization tolerance.

◆ getNumberOfEntities()

Integer getNumberOfEntities ( )

Returns the number of entities in the curve.

◆ hasArcs()

Boolean hasArcs ( )

Returns true if the curve has arcs.

◆ isClosed()

Boolean isClosed ( )

Returns true if the curve is closed.



Generated by Autodesk, Inc. 05 April 2024
Copyright (c) 2012-2024 by Autodesk, Inc.