Curve
Hierarchy
↳
Curve
Constructors
constructor
• new Curve(wrapped
)
Parameters
Name | Type |
---|---|
wrapped | CurveLike |
Inherited from
Defined in
Accessors
curveType
• get
curveType(): CurveType
Returns
Defined in
endPoint
• get
endPoint(): Vector
Returns
Defined in
isClosed
• get
isClosed(): boolean
Returns
boolean
Defined in
isPeriodic
• get
isPeriodic(): boolean
Returns
boolean
Defined in
period
• get
period(): number
Returns
number
Defined in
repr
• get
repr(): string
Returns
string
Defined in
startPoint
• get
startPoint(): Vector
Returns
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
delete
▸ delete(): void
Returns
void
Inherited from
Defined in
tangentAt
▸ tangentAt(position
): Vector
Parameters
Name | Type |
---|---|
position | number |