Class: Curve2D
Hierarchy
WrappingObj
<Handle_Geom2d_Curve
>↳
Curve2D
Constructors
constructor
• new Curve2D(handle
)
Parameters
Name | Type |
---|---|
handle | Handle_Geom2d_Curve |
Overrides
Defined in
Accessors
firstParameter
• get
firstParameter(): number
Returns
number
Defined in
firstPoint
• get
firstPoint(): Point2D
Returns
Defined in
geomType
• get
geomType(): CurveType
Returns
Defined in
innerCurve
• get
innerCurve(): Geom2d_Curve
Returns
Geom2d_Curve
Defined in
lastParameter
• get
lastParameter(): number
Returns
number
Defined in
lastPoint
• get
lastPoint(): Point2D
Returns
Defined in
repr
• get
repr(): string
Returns
string
Defined in
wrapped
• get
wrapped(): Type
Returns
Type
Inherited from
WrappingObj.wrapped
Defined in
• set
wrapped(newWrapped
): void
Parameters
Name | Type |
---|---|
newWrapped | Type |
Returns
void
Inherited from
WrappingObj.wrapped
Defined in
Methods
adaptor
▸ adaptor(): Geom2dAdaptor_Curve
Returns
Geom2dAdaptor_Curve
Defined in
clone
▸ clone(): Curve2D
Returns
Defined in
delete
▸ delete(): void
Returns
void
Inherited from
Defined in
parameter
▸ parameter(point
): number
Parameters
Name | Type |
---|---|
point | Point2D |
Returns
number
Defined in
reverse
▸ reverse(): void
Returns
void
Defined in
splitAt
▸ splitAt(points
): Curve2D
[]
Parameters
Name | Type |
---|---|
points | Point2D [] |
Returns
Curve2D
[]
Defined in
tangentAt
▸ tangentAt(index
): Point2D
Parameters
Name | Type |
---|---|
index | number |
Returns
Defined in
value
▸ value(parameter
): Point2D
Parameters
Name | Type |
---|---|
parameter | number |