Class: ShapeUtils
Constructors
Methods
Constructors
constructor
• new ShapeUtils(): ShapeUtils
Returns
Methods
isClockWise
▸ isClockWise(points
): boolean
Parameters
Name | Type |
---|---|
points | Vector2 [] |
Returns
boolean
Defined in
packages/geometry/ExtrudeGeometry/ShapeUtils.ts:5
area
▸ area(contour
): number
Parameters
Name | Type |
---|---|
contour | Vector2 [] |
Returns
number
Defined in
packages/geometry/ExtrudeGeometry/ShapeUtils.ts:9
triangulateShape
▸ triangulateShape(contour
, holes
): number
[][]
Parameters
Name | Type |
---|---|
contour | Vector2 [] |
holes | Vector2 [][] |
Returns
number
[][]