public final class Plane extends GeometrixObject
PlaneHelper| Modifier and Type | Method and Description |
|---|---|
static Plane |
create(Vec<Three> initialPoint,
Vec<Three> normal)
Constructs a plane using a given point on the plane and a normal vector.
|
boolean |
equals(java.lang.Object o) |
Vec<Three> |
getInitialPoint() |
Vec<Three> |
getNormal() |
int |
hashCode() |
boolean |
resembles(java.lang.Object o) |
java.lang.String |
toString() |
public static Plane create(Vec<Three> initialPoint, Vec<Three> normal)
initialPoint - the initial point of the planenormal - the normal vector of the planejava.lang.NullPointerException - if one of the arguments is nulljava.lang.IllegalArgumentException - if normal is a zero vectorjava.lang.IllegalArgumentException - if the initial point lies outside the object spacepublic boolean resembles(java.lang.Object o)
resembles in class GeometrixObjectpublic boolean equals(java.lang.Object o)
equals in class GeometrixObjectpublic int hashCode()
hashCode in class GeometrixObjectpublic java.lang.String toString()
toString in class GeometrixObject