Class CSGPlane
Hierarchy
- CSGPlane
Index
Constructors
constructor
Properties
normalSearch playground for normal
wSearch playground for w
Static EPSILONSearch playground for EPSILON
CSG.Plane.EPSILON
is the tolerance used by splitPolygon()
to decide if a
point is on the plane
Methods
cloneSearch playground for clone
Clone, or make a deep copy of the plane
Returns CSGPlane
a new Plane
flipSearch playground for flip
Flip the face of the plane
Returns void
split PolygonSearch playground for splitPolygon
Split
polygon
by this plane if needed, then put the polygon or polygon fragments in the appropriate lists. Coplanar polygons go into either* coplanarFront
orcoplanarBack
depending on their orientation with respect to this plane. Polygons in front or in back of this plane go into eitherfront
orback
Parameters
polygon: CSGPolygon
The polygon to be split
coplanarFront: CSGPolygon[]
Will contain polygons coplanar with the plane that are oriented to the front of the plane
coplanarBack: CSGPolygon[]
Will contain polygons coplanar with the plane that are oriented to the back of the plane
front: CSGPolygon[]
Will contain the polygons in front of the plane
back: CSGPolygon[]
Will contain the polygons begind the plane
Returns void
Represents a plane in 3D space.