|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CADShape
Describe a topological shape with an orientation, a location and a geometry
Method Summary | |
---|---|
double[] |
boundingBox()
Return the bounding box of this shape in an array like {Xmin, Ymin, Zmin, Xmax, Ymax, Zmax}. |
boolean |
equals(java.lang.Object o)
Return true if o have same orientation and geometry as this object |
int |
hashCode()
Return a hash code matching the equals method |
boolean |
isOrientationForward()
Return true if and only if the face is forward oriented |
boolean |
isSame(java.lang.Object o)
Return true if o have same geometry as this object |
int |
orientation()
Return the orientation of the shape |
CADShape |
reversed()
Return a reversed instance of this shape |
void |
writeNative(java.lang.String filename)
Write shape into the native format |
Method Detail |
---|
double[] boundingBox()
CADShape reversed()
int orientation()
boolean isOrientationForward()
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
boolean isSame(java.lang.Object o)
void writeNative(java.lang.String filename)
int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |