public class Plane
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Plane.PlaneSide |
Constructor and Description |
---|
Plane() |
Plane(Number3D normal,
float d) |
Plane(Number3D point1,
Number3D point2,
Number3D point3) |
Modifier and Type | Method and Description |
---|---|
float |
distance(Number3D point) |
float |
getD() |
Number3D |
getNormal() |
Plane.PlaneSide |
getPointSide(Number3D point) |
boolean |
isFrontFacing(Number3D direction) |
void |
set(Number3D point1,
Number3D point2,
Number3D point3) |
void |
setAll(float nx,
float ny,
float nz,
float d) |
void |
setAllFrom(Plane plane) |
public final Number3D mNormal
public float d
public Plane()
public Plane(Number3D normal, float d)
public void setAll(float nx, float ny, float nz, float d)
public float distance(Number3D point)
public Plane.PlaneSide getPointSide(Number3D point)
public boolean isFrontFacing(Number3D direction)
public Number3D getNormal()
public float getD()
public void setAllFrom(Plane plane)