Preparing search index...
The search index is not available
feng3d
feng3d
ShapeUtils
Class ShapeUtils
Hierarchy
ShapeUtils
Index
Constructors
constructor
Methods
triangulate
Shape
Constructors
constructor
new
Shape
Utils
(
)
:
ShapeUtils
Returns
ShapeUtils
Methods
Static
triangulate
Shape
triangulate
Shape
(
contour
:
Vector2
[]
, holes
:
Vector2
[]
[]
)
:
number
[]
[]
三角化多边形
Parameters
contour:
Vector2
[]
多边形轮廓,使用顶点数组表示。
holes:
Vector2
[]
[]
孔洞多边形数组,每个孔洞多边形使用顶点数组表示。
Returns
number
[]
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
feng3d
Shape
Utils
constructor
triangulate
Shape
Generated using
TypeDoc
三角化多边形