Package eu.mihosoft.vrl.v3d
Interface Primitive
- All Known Implementing Classes:
Box
,Cube
,Cylinder
,Operation
,Pgon
,Polyhedron
,RoundedCube
,Sphere
,StlPrim
,Trap
,Trd
,Tube
public interface Primitive
A primitive geometry.
- Author:
- Michael Hoffer <info@michaelhoffer.de>
-
Method Details
-
toPolygons
Returns the polygons that define this primitive. Note: this method computes the polygons each time this method is called. The polygons can be cached inside aCSG
object.- Returns:
- a list of polygons that define this primitive
-
toCSG
Returns this primitive asCSG
.- Returns:
- this primitive as
CSG
-
getProperties
PropertyStorage getProperties()Returns the property storage of this primitive.- Returns:
- the property storage of this primitive
-