georegression.struct.shapes
Class BoxLength3D_F32
- java.lang.Object
-
- georegression.struct.shapes.BoxLength3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class BoxLength3D_F32 extends java.lang.Object implements java.io.SerializableAn 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 Summary
Fields Modifier and Type Field and Description floatlengthXThe length of each size along their respective axisesfloatlengthYThe length of each size along their respective axisesfloatlengthZThe length of each size along their respective axisesPoint3D_F32pPoint on the box with the lowest values.
-
Constructor Summary
Constructors Constructor and Description BoxLength3D_F32()BoxLength3D_F32(BoxLength3D_F32 orig)BoxLength3D_F32(float x0, float y0, float z0, float lengthX, float lengthY, float lengthZ)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatarea()floatgetLengthX()floatgetLengthY()floatgetLengthZ()Point3D_F32getP()voidset(BoxLength3D_F32 orig)voidset(float x0, float y0, float z0, float lengthX, float lengthY, float lengthZ)voidsetLengthX(float lengthX)voidsetLengthY(float lengthY)voidsetLengthZ(float lengthZ)voidsetP(Point3D_F32 p)java.lang.StringtoString()
-
-
-
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(BoxLength3D_F32 orig)
-
BoxLength3D_F32
public BoxLength3D_F32()
-
-
Method Detail
-
set
public void set(BoxLength3D_F32 orig)
-
set
public void set(float x0, float y0, float z0, float lengthX, float lengthY, float lengthZ)
-
area
public float area()
-
getP
public Point3D_F32 getP()
-
getLengthX
public float getLengthX()
-
getLengthY
public float getLengthY()
-
getLengthZ
public float getLengthZ()
-
setP
public void setP(Point3D_F32 p)
-
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:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG