private static class PolyhedronsSet.RotationTransform extends java.lang.Object implements Transform<Euclidean3D,Euclidean2D>
Modifier and Type | Field and Description |
---|---|
private Plane |
cachedOriginal
Cached original hyperplane.
|
private Transform<Euclidean2D,Euclidean1D> |
cachedTransform
Cached 2D transform valid inside the cached original hyperplane.
|
private Vector3D |
center
Center point of the rotation.
|
private Rotation |
rotation
Vectorial rotation.
|
Constructor and Description |
---|
RotationTransform(Vector3D center,
Rotation rotation)
Build a rotation transform.
|
Modifier and Type | Method and Description |
---|---|
Plane |
apply(Hyperplane<Euclidean3D> hyperplane)
Transform an hyperplane of a space.
|
Vector3D |
apply(Point<Euclidean3D> point)
Transform a point of a space.
|
SubHyperplane<Euclidean2D> |
apply(SubHyperplane<Euclidean2D> sub,
Hyperplane<Euclidean3D> original,
Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
private Vector3D center
private Rotation rotation
private Plane cachedOriginal
private Transform<Euclidean2D,Euclidean1D> cachedTransform
public Vector3D apply(Point<Euclidean3D> point)
apply
in interface Transform<Euclidean3D,Euclidean2D>
point
- point to transformpublic Plane apply(Hyperplane<Euclidean3D> hyperplane)
apply
in interface Transform<Euclidean3D,Euclidean2D>
hyperplane
- hyperplane to transformpublic SubHyperplane<Euclidean2D> apply(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed)
apply
in interface Transform<Euclidean3D,Euclidean2D>
sub
- sub-hyperplane to transformoriginal
- hyperplane in which the sub-hyperplane is
defined (this is the original hyperplane, the transform has
not been applied to it)transformed
- hyperplane in which the sub-hyperplane is
defined (this is the transformed hyperplane, the transform
has been applied to it)Copyright (c) 2003-2016 Apache Software Foundation