Package eu.mihosoft.vrl.v3d
Class Polyhedron
java.lang.Object
eu.mihosoft.vrl.v3d.Polyhedron
- All Implemented Interfaces:
- Primitive
Polyhedron.
- Author:
- Michael Hoffer <info@michaelhoffer.de>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the property storage of this primitive.Returns the polygons that define this primitive.
- 
Constructor Details- 
PolyhedronConstructor. Creates a polyhedron defined by a list of points and a list of faces.- Parameters:
- points- points (- Vector3dlist)
- faces- list of faces (list of point index lists)
 
- 
PolyhedronConstructor. Creates a polyhedron defined by a list of points and a list of faces.- Parameters:
- points- points (- Vector3darray)
- faces- list of faces (array of point index arrays)
 
 
- 
- 
Method Details- 
toPolygonsDescription copied from interface:PrimitiveReturns the polygons that define this primitive. Note: this method computes the polygons each time this method is called. The polygons can be cached inside aCSGobject.- Specified by:
- toPolygonsin interface- Primitive
- Returns:
- a list of polygons that define this primitive
 
- 
getPropertiesDescription copied from interface:PrimitiveReturns the property storage of this primitive.- Specified by:
- getPropertiesin interface- Primitive
- Returns:
- the property storage of this primitive
 
 
-