Class Circle.CircleTransform

java.lang.Object
org.apache.commons.math3.geometry.spherical.twod.Circle.CircleTransform
All Implemented Interfaces:
Transform<Sphere2D,Sphere1D>
Enclosing class:
Circle

private static class Circle.CircleTransform extends Object implements Transform<Sphere2D,Sphere1D>
Class embedding a 3D rotation.
  • Field Details

    • rotation

      private final Rotation rotation
      Underlying rotation.
  • Constructor Details

    • CircleTransform

      CircleTransform(Rotation rotation)
      Build a transform from a Rotation.
      Parameters:
      rotation - rotation to use
  • Method Details

    • apply

      public S2Point apply(Point<Sphere2D> point)
      Transform a point of a space.
      Specified by:
      apply in interface Transform<Sphere2D,Sphere1D>
      Parameters:
      point - point to transform
      Returns:
      a new object representing the transformed point
    • apply

      public Circle apply(Hyperplane<Sphere2D> hyperplane)
      Transform an hyperplane of a space.
      Specified by:
      apply in interface Transform<Sphere2D,Sphere1D>
      Parameters:
      hyperplane - hyperplane to transform
      Returns:
      a new object representing the transformed hyperplane
    • apply

      public SubHyperplane<Sphere1D> apply(SubHyperplane<Sphere1D> sub, Hyperplane<Sphere2D> original, Hyperplane<Sphere2D> transformed)
      Transform a sub-hyperplane embedded in an hyperplane.
      Specified by:
      apply in interface Transform<Sphere2D,Sphere1D>
      Parameters:
      sub - sub-hyperplane to transform
      original - 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)
      Returns:
      a new object representing the transformed sub-hyperplane