public interface GeomElement
extends java.io.Serializable, java.lang.Cloneable
Modified by: Joseph A. Huwaldt
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Make a copy of this geometry element object.
|
java.util.Map |
getAllData()
Return a reference to a Map containing all application specific objects associated
with this geometry element.
|
double |
getArea()
Return the surface area of this geometry element.
|
GeomPoint |
getBoundsMax()
Return the coordinate point representing the maximum bounding box corner (max X,
max Y, max Z).
|
GeomPoint |
getBoundsMin()
Return the coordinate point representing the minimum bounding box corner (min X,
min Y, min Z).
|
java.lang.Object |
getData(java.lang.Object key)
Return the application specific object associated with the specified key that has
been assigned to this geometry element.
|
double |
getMaxX()
Return the maximum bounding X coordinate for this geometry element.
|
double |
getMaxY()
Return the maximum bounding Y coordinate for this geometry element.
|
double |
getMaxZ()
Return the maximum bounding Z coordinate for this geometry element.
|
double |
getMinX()
Return the minimum bounding X coordinate for this geometry element.
|
double |
getMinY()
Return the minimum bounding Y coordinate for this geometry element.
|
double |
getMinZ()
Return the minimum bounding Z coordinate for this geometry element.
|
java.lang.String |
getName()
Return the name of this geometry element.
|
int |
getNumberOfPanels()
Returns the number of panels that make up this geometry.
|
void |
putData(java.lang.Object key,
java.lang.Object data)
Store application specific data that can be assigned to this geometry element.
|
void |
scale(double sx,
double sy,
double sz)
Scale this element by the given scale factor in each axis direction.
|
void |
setName(java.lang.String newName)
Change the name of this geometry element.
|
void |
translate(double dx,
double dy,
double dz)
Translate this element by an incremental amount along each axis.
|
java.lang.String getName()
void setName(java.lang.String newName)
newName
- The new name to be given to this geometry element.int getNumberOfPanels()
double getArea()
double getMinX()
double getMaxX()
double getMinY()
double getMaxY()
double getMinZ()
double getMaxZ()
GeomPoint getBoundsMin()
GeomPoint getBoundsMax()
void translate(double dx, double dy, double dz)
dx
- The amount to translate in the X direction.dy
- The amount to translate in the Y direction.dz
- The amount to translate in the Z direction.void scale(double sx, double sy, double sz)
sx
- The amount to scale the element in the X direction.sy
- The amount to scale the element in the Y direction.sz
- The amount to scale the element in the Z direction.void putData(java.lang.Object key, java.lang.Object data)
key
- The key used to store and retrieve the application specific data
assigned to this geometry element.data
- The application specific object to be assigned to this geometry
element.java.lang.Object getData(java.lang.Object key)
key
- The key used to store and retrieve the application specific data.java.util.Map getAllData()
java.lang.Object clone()