# Class: Curve
# Hierarchy
- Curve
# Methods
# Static
getArea
▸ getArea(v
: CurveValues): number
Defined in cruve.ts:39 (opens new window)
Parameters:
Name | Type |
---|---|
v | CurveValues |
Returns: number
# Static
toArray
▸ toArray(s1
: Segment, s2
: Segment, ignoreHandles
: boolean): CurveValues
Defined in cruve.ts:21 (opens new window)
Returns array in simple format for easier mathematical manipulation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
s1 | Segment | - | first segment |
s2 | Segment | - | second segment |
ignoreHandles | boolean | false | remove handles between the points |
Returns: CurveValues