org.apache.commons.math3.geometry.euclidean.threed
private static class PolyhedronsSet.TranslationTransform 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 |
translation
Translation vector.
|
Constructor and Description |
---|
PolyhedronsSet.TranslationTransform(Vector3D translation)
Build a translation transform.
|
Modifier and Type | Method and Description |
---|---|
Plane |
apply(Hyperplane<Euclidean3D> hyperplane)
Transform an hyperplane of a space.
|
SubHyperplane<Euclidean2D> |
apply(SubHyperplane<Euclidean2D> sub,
Hyperplane<Euclidean3D> original,
Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
Vector3D |
apply(Vector<Euclidean3D> point)
Transform a point of a space.
|
private Vector3D translation
private Plane cachedOriginal
private Transform<Euclidean2D,Euclidean1D> cachedTransform
public PolyhedronsSet.TranslationTransform(Vector3D translation)
translation
- translation vectorpublic Vector3D apply(Vector<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-2013 Apache Software Foundation