Top Description Methods
org.apache.commons.math3.geometry.partitioning

public Interface Transform<S extends Space, T extends Space>

Known Direct Implementers
org.apache.commons.math3.geometry.spherical.twod.Circle.CircleTransform, org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.RotationTransform, org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.TranslationTransform, org.apache.commons.math3.geometry.euclidean.twod.Line.LineTransform
Type Parameters
<S>
Type of the embedding space.
<T>
Type of the embedded sub-space.
Imports
org.apache.commons.math3.geometry.Point, .Space

This interface represents an inversible affine transform in a space.

Inversible affine transform include for example scalings, translations, rotations.

Transforms are dimension-specific. The consistency rules between the three apply methods are the following ones for a transformed defined for dimension D:

Since
3.0

Method Summary

Modifier and TypeMethod and Description
public Point<S>

Returns:

a new object representing the transformed point
apply
(Point<S>
point to transform
point
)

Transform a point of a space.

public Hyperplane<S>

Returns:

a new object representing the transformed hyperplane
apply
(Hyperplane<S>
hyperplane to transform
hyperplane
)

Transform an hyperplane of a space.

public SubHyperplane<T>

Returns:

a new object representing the transformed sub-hyperplane
apply
(SubHyperplane<T>
sub-hyperplane to transform
sub
,
Hyperplane<S>
hyperplane in which the sub-hyperplane is defined (this is the original hyperplane, the transform has not been applied to it)
original
,
Hyperplane<S>
hyperplane in which the sub-hyperplane is defined (this is the transformed hyperplane, the transform has been applied to it)
transformed
)

Transform a sub-hyperplane embedded in an hyperplane.

Method Detail

applyback to summary
public Point<S> apply(Point<S> point)

Transform a point of a space.

Parameters
point:Point<S>

point to transform

Returns:Point<S>

a new object representing the transformed point

applyback to summary
public Hyperplane<S> apply(Hyperplane<S> hyperplane)

Transform an hyperplane of a space.

Parameters
hyperplane:Hyperplane<S>

hyperplane to transform

Returns:Hyperplane<S>

a new object representing the transformed hyperplane

applyback to summary
public SubHyperplane<T> apply(SubHyperplane<T> sub, Hyperplane<S> original, Hyperplane<S> transformed)

Transform a sub-hyperplane embedded in an hyperplane.

Parameters
sub:SubHyperplane<T>

sub-hyperplane to transform

original:Hyperplane<S>

hyperplane in which the sub-hyperplane is defined (this is the original hyperplane, the transform has not been applied to it)

transformed:Hyperplane<S>

hyperplane in which the sub-hyperplane is defined (this is the transformed hyperplane, the transform has been applied to it)

Returns:SubHyperplane<T>

a new object representing the transformed sub-hyperplane