Class Line.SubspaceTransform
- java.lang.Object
-
- org.apache.commons.geometry.euclidean.twod.Line.SubspaceTransform
-
- Enclosing class:
- Line
public static final class Line.SubspaceTransform extends java.lang.Object
Class containing a transformed line instance along with a subspace (1D) transform. The subspace transform produces the equivalent of the 2D transform in 1D.
-
-
Field Summary
Fields Modifier and Type Field Description private Line
line
The transformed line.private AffineTransformMatrix1D
transform
The subspace transform instance.
-
Constructor Summary
Constructors Constructor Description SubspaceTransform(Line line, AffineTransformMatrix1D transform)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Line
getLine()
Get the transformed line instance.AffineTransformMatrix1D
getTransform()
Get the 1D transform that can be applied to subspace points.
-
-
-
Field Detail
-
line
private final Line line
The transformed line.
-
transform
private final AffineTransformMatrix1D transform
The subspace transform instance.
-
-
Constructor Detail
-
SubspaceTransform
public SubspaceTransform(Line line, AffineTransformMatrix1D transform)
Simple constructor.- Parameters:
line
- the transformed linetransform
- 1D transform that can be applied to subspace points
-
-
Method Detail
-
getLine
public Line getLine()
Get the transformed line instance.- Returns:
- the transformed line instance
-
getTransform
public AffineTransformMatrix1D getTransform()
Get the 1D transform that can be applied to subspace points. This transform can be used to perform the equivalent of the 2D transform in 1D space.- Returns:
- the subspace transform instance
-
-