Documentation of 'georegression.struct.shapes.BoxLength3D_F32' Java class
BoxLength3D_F32
georegression.struct.shapes

Class BoxLength3D_F32

  • All Implemented Interfaces:
    java.io.Serializable


    public class BoxLength3D_F32
    extends java.lang.Object
    implements java.io.Serializable
    An axis aligned box in 3D that is specified by a point p=(x0,y0,z0), and its lengthX, lengthY, and lengthZ. The point 'p' has the lowest values and is also known as the lower extent.. The corner which is farthest away from 'p' is (x0+lengthX , y0+lengthY, z0+lengthZ), the upper extent.
    See Also:
    Serialized Form
    • Field Detail

      • p

        public Point3D_F32 p
        Point on the box with the lowest values. The lower extent.
      • lengthX

        public float lengthX
        The length of each size along their respective axises
      • lengthY

        public float lengthY
        The length of each size along their respective axises
      • lengthZ

        public float lengthZ
        The length of each size along their respective axises
    • Constructor Detail

      • BoxLength3D_F32

        public BoxLength3D_F32(float x0,
                               float y0,
                               float z0,
                               float lengthX,
                               float lengthY,
                               float lengthZ)
      • BoxLength3D_F32

        public BoxLength3D_F32()
    • Method Detail

      • set

        public void set(float x0,
                        float y0,
                        float z0,
                        float lengthX,
                        float lengthY,
                        float lengthZ)
      • area

        public float area()
      • getLengthX

        public float getLengthX()
      • getLengthY

        public float getLengthY()
      • getLengthZ

        public float getLengthZ()
      • setLengthX

        public void setLengthX(float lengthX)
      • setLengthY

        public void setLengthY(float lengthY)
      • setLengthZ

        public void setLengthZ(float lengthZ)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.