wt.epm
Class EPMBoxExtents

java.lang.Object
  extended by wt.epm.EPMBoxExtents
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable

public class EPMBoxExtents
extends Object
implements ObjectMappable, Externalizable

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:
Serialized Form

Field Summary
static String AX
          Label for the attribute.
static String AY
          Label for the attribute.
static String AZ
          Label for the attribute.
static String BX
          Label for the attribute.
static String BY
          Label for the attribute.
static String BZ
          Label for the attribute.
 
Method Summary
 Vector getAxyz()
          Return the current A coordinate as a Vector of Doubles.
 Vector getBxyz()
          Return the curren tB coordinate as a Vector of Doubles.
 void setAxyz(Vector point)
          Set the extents by inputting a Vector of Doubles.
 void setBxyz(Vector point)
          Set the extents by inputting a Vector of Doubles.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AX

public static final String AX
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

AY

public static final String AY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

AZ

public static final String AZ
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

BX

public static final String BX
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

BY

public static final String BY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

BZ

public static final String BZ
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getAxyz

public Vector getAxyz()
Return the current A coordinate as a Vector of Doubles.

Supported API: true

Returns:
Vector

getBxyz

public Vector getBxyz()
Return the curren tB coordinate as a Vector of Doubles.

Supported API: true

Returns:
Vector

setAxyz

public void setAxyz(Vector point)
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

public void setBxyz(Vector point)
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 -