Class Trd
java.lang.Object
org.jlab.geometry.prim.Trd
- All Implemented Interfaces:
Primitive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the property storage of this primitive.Returns the polygons that define this primitive.
-
Constructor Details
-
Trd
public Trd(double pDx1, double pDx2, double pDy1, double pDy2, double pDz)
-
-
Method Details
-
toPolygons
Description 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 interfacePrimitive- Returns:
- a list of polygons that define this primitive
-
getProperties
Description copied from interface:PrimitiveReturns the property storage of this primitive.- Specified by:
getPropertiesin interfacePrimitive- Returns:
- the property storage of this primitive
-