Contents
Class StlPrim
java.lang.Object
org.jlab.geometry.prim.StlPrim
- All Implemented Interfaces:
Primitive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyToStlFile
(String fname) Returns the property storage of this primitive.Returns the polygons that define this primitive.
-
Constructor Details
-
Method Details
-
toPolygons
Description copied from interface:Primitive
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.- Specified by:
toPolygons
in interfacePrimitive
- Returns:
- a list of polygons that define this primitive
-
getProperties
Description copied from interface:Primitive
Returns the property storage of this primitive.- Specified by:
getProperties
in interfacePrimitive
- Returns:
- the property storage of this primitive
-
copyToStlFile
-