Class Circle.CircleTransform

    • Field Detail

      • rotation

        private final Rotation rotation
        Underlying rotation.
    • Constructor Detail

      • CircleTransform

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

      • 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