Package wt.epm
Class EPMBoxExtents
java.lang.Object
wt.epm._EPMBoxExtents
wt.epm.EPMBoxExtents
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(versions=6812461063376644201L,properties={@GeneratedProperty(name="Ax",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="Ay",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="Az",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="Bx",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="By",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="Bz",type=java.lang.Double.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE))})
public class EPMBoxExtents
extends _EPMBoxExtents
The EPMBoxExtents represent a box around the CAD model associated to
the EPMDocument . It is assumed that the sides
of the box are parallel to the standard coordinate system and the box
is centered at the local origin of the model. The box will be stored
by specifying two opposite corners. The minimum coordinates will be
stored as point A and the maximum as point B.
The units are assumed to be meters foa all values
Use the newEPMBoxExtents static factory method(s), not the
EPMBoxExtents constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAxyz()Return the current A coordinate as a Vector of Doubles.getBxyz()Return the curren tB coordinate as a Vector of Doubles.voidSet the extents by inputting a Vector of Doubles.voidSet the extents by inputting a Vector of Doubles.voidSet the corners of the box by inputting opposite corners as 6 Double values.
-
Method Details
-
getAxyz
Return the current A coordinate as a Vector of Doubles.
Supported API: true- Returns:
- Vector
-
getBxyz
Return the curren tB coordinate as a Vector of Doubles.
Supported API: true- Returns:
- Vector
-
setAxyz
Set the extents by inputting a Vector of Doubles. The resulting box will be computed using the input A coordinate and the current B coordinate if one exists.
Supported API: true- Parameters:
point-
-
setBxyz
Set the extents by inputting a Vector of Doubles. The resulting box will be computed using the input B coordinate and the current A coordinate if one exists.
Supported API: true- Parameters:
point-
-
setCorners
public void setCorners(Double a_Ax, Double a_Ay, Double a_Az, Double a_Bx, Double a_By, Double a_Bz) Set the corners of the box by inputting opposite corners as 6 Double values. The values will be stored as (min,min,min) (max,max,max) regardless of the order input.
Supported API: true- Parameters:
a_Ax-a_Ay-a_Az-a_Bx-a_By-a_Bz-
-