[name]
Contains handy functions geometry manipulations.
Methods
.merge( [page:Geometry geometry1] , [page:Geometry geometry2], [page:Integer materialIndexOffset] )
geometry1 — Parent geometry element
geometry2 — Geometry that need to be added in parent
materialIndexOffset — Offset applied to the materialIndex of all the new faces in the merged geometry. Default : 0
.randomPointInTriangle( [page:Vector VectorA] , [page:Vector VectorB] , [page:Vector VectorC])
VectorA — Vector
VectorB — Vector
VectorC — Vector
returns [page:Int Point]
.center ( [page:Vector VectorA] , [page:Vector VectorB] , [page:Vector VectorC])
VectorA — Vector
VectorB — Vector
VectorC — Vector
returns [page:Int Area]
.center ( [page:Geometry geometry] )
Geometry — Geometry to Center position
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]