georegression.struct.shapes
Class BoxLength3D_F64
- java.lang.Object
-
- georegression.struct.shapes.BoxLength3D_F64
-
- All Implemented Interfaces:
- java.io.Serializable
public class BoxLength3D_F64 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 doublelengthXThe length of each size along their respective axisesdoublelengthYThe length of each size along their respective axisesdoublelengthZThe length of each size along their respective axisesPoint3D_F64pPoint on the box with the lowest values.
-
Constructor Summary
Constructors Constructor and Description BoxLength3D_F64()BoxLength3D_F64(BoxLength3D_F64 orig)BoxLength3D_F64(double x0, double y0, double z0, double lengthX, double lengthY, double lengthZ)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublearea()doublegetLengthX()doublegetLengthY()doublegetLengthZ()Point3D_F64getP()voidset(BoxLength3D_F64 orig)voidset(double x0, double y0, double z0, double lengthX, double lengthY, double lengthZ)voidsetLengthX(double lengthX)voidsetLengthY(double lengthY)voidsetLengthZ(double lengthZ)voidsetP(Point3D_F64 p)java.lang.StringtoString()
-
-
-
Field Detail
-
p
public Point3D_F64 p
Point on the box with the lowest values. The lower extent.
-
lengthX
public double lengthX
The length of each size along their respective axises
-
lengthY
public double lengthY
The length of each size along their respective axises
-
lengthZ
public double lengthZ
The length of each size along their respective axises
-
-
Constructor Detail
-
BoxLength3D_F64
public BoxLength3D_F64(double x0, double y0, double z0, double lengthX, double lengthY, double lengthZ)
-
BoxLength3D_F64
public BoxLength3D_F64(BoxLength3D_F64 orig)
-
BoxLength3D_F64
public BoxLength3D_F64()
-
-
Method Detail
-
set
public void set(BoxLength3D_F64 orig)
-
set
public void set(double x0, double y0, double z0, double lengthX, double lengthY, double lengthZ)
-
area
public double area()
-
getP
public Point3D_F64 getP()
-
getLengthX
public double getLengthX()
-
getLengthY
public double getLengthY()
-
getLengthZ
public double getLengthZ()
-
setP
public void setP(Point3D_F64 p)
-
setLengthX
public void setLengthX(double lengthX)
-
setLengthY
public void setLengthY(double lengthY)
-
setLengthZ
public void setLengthZ(double lengthZ)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG