math.geom2d.transform
Interface Similarity2D
- All Superinterfaces:
- AffineTransform2D, Bijection2D, Transform2D
- All Known Subinterfaces:
- Isometry2D, Motion2D
- All Known Implementing Classes:
- AbstractAffineTransform2D.Identity2D, GlideReflection2D, Homothecy2D, LinearHomothecy2D, LinearLineReflection2D, LinearRotation2D, LineReflection2D, PointSymmetry2D, Rotation2D, Translation2D
public interface Similarity2D
- extends AffineTransform2D, Bijection2D
A similarity is a transformation which conserves lengths ratios and
angles (not necessarily oriented).
- Author:
- dlegland
getScalingFactor
double getScalingFactor()
- Returns the scaling factor of the transform. The scaling factor is
positive for direct transforms.
- Returns:
- the scaling factor of the transform.
getLinearPart
LinearTransform2D getLinearPart()
- Returns:
- the linear part of the transform.
getTranslationPart
Translation2D getTranslationPart()
- Returns:
- the translation part of the transform.