Package wt.epm

Class EPMBoxExtents

All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, NetFactor, ObjectMappable

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:
  • Method Details

    • 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 -