# Class: Curve

# Hierarchy

  • Curve

# Methods

# Static getArea

getArea(v: CurveValues): number

Defined in cruve.ts:39

Parameters:

Name Type
v CurveValues

Returns: number


# Static toArray

toArray(s1: Segment, s2: Segment, ignoreHandles: boolean): CurveValues

Defined in cruve.ts:21

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