| Constructor and Description |
|---|
PlaneAlignment(PlaneCoordinateSystem coordinateSystem)
Creates a new
PlaneAlignment object from a plane. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Vec<Three> |
getGlobalDirection(Vec<Two> direction)
Transforms a two-dimensional direction vector into the dimension of this alignment.
|
Vec<Three> |
getGlobalPoint(Vec<Two> point)
Transforms a two-dimensional point into the dimension of this alignment.
|
Vec<Two> |
getLocalDirection(Vec<Three> direction) |
Vec<Two> |
getLocalPoint(Vec<Three> point)
Transforms a point in the global coordinate system into a point in the local coordinate system of this alignment.
|
int |
hashCode() |
boolean |
resembles(java.lang.Object o) |
java.lang.String |
toString() |
getDimensionpublic PlaneAlignment(PlaneCoordinateSystem coordinateSystem)
PlaneAlignment object from a plane.coordinateSystem - the coordinate system which is located on a planejava.lang.NullPointerException - if plane is nullpublic Vec<Two> getLocalPoint(Vec<Three> point)
AlignmentgetLocalPoint in class Alignment<Three>point - the two-dimensional point which should be transformedpublic Vec<Three> getGlobalPoint(Vec<Two> point)
AlignmentgetGlobalPoint in class Alignment<Three>point - the point which should be transformedpublic Vec<Two> getLocalDirection(Vec<Three> direction)
getLocalDirection in class Alignment<Three>public Vec<Three> getGlobalDirection(Vec<Two> direction)
AlignmentgetGlobalDirection in class Alignment<Three>direction - the direction vector which should be transformedpublic 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