Documentation of 'georegression.struct.se.Se2_F32' Java class
Se2_F32
georegression.struct.se

Class Se2_F32

  • All Implemented Interfaces:
    InvertibleTransform<Se2_F32>, SpecialEuclidean<Se2_F32>, java.io.Serializable


    public class Se2_F32
    extends java.lang.Object
    implements SpecialEuclidean<Se2_F32>

    Special Euclidean transform that has been parameterized with three parameters: translation (x,y) and rotation (yaw). First the rotation is applied then the translation.

    Note that this data structure does not specify the units or coordinate frames.

    See Also:
    Serialized Form
    • Constructor Detail

      • Se2_F32

        public Se2_F32(float x,
                       float y,
                       float yaw)
      • Se2_F32

        public Se2_F32(float x,
                       float y,
                       float cosYaw,
                       float sinYaw)
      • Se2_F32

        public Se2_F32()
        Constructor which initializes it to no transform
    • Method Detail

      • set

        public void set(float x,
                        float y,
                        float yaw)
      • set

        public void set(float x,
                        float y,
                        float cosYaw,
                        float sinYaw)
      • getX

        public float getX()
      • setX

        public void setX(float x)
      • getY

        public float getY()
      • setY

        public void setY(float y)
      • setTranslation

        public void setTranslation(Vector2D_F32 tran)
      • setTranslation

        public void setTranslation(float x,
                                   float y)
      • getYaw

        public float getYaw()
      • setYaw

        public void setYaw(float yaw)
      • getCosineYaw

        public float getCosineYaw()
      • getSineYaw

        public float getSineYaw()
      • concat

        public Se2_F32 concat(Se2_F32 second,
                              Se2_F32 result)
        Description copied from interface: InvertibleTransform

        Computes a transform which is the equivalent to applying 'this' then the 'second' transform.

        For example:

        Point A = tran2( tran1( A ) );
        Point A = tran12( A );

        where tran12 = tran1.concat( tran2 , null );

        NOTE: 'second', 'result', and 'this' must all be unique instances.

        Specified by:
        concat in interface InvertibleTransform<Se2_F32>
        Parameters:
        second - The second transform which is applied. Not modified.
        result - A transform which is equivalent to applying the first then the second. If null then a new instance is declared. Modified.
        Returns:
        The equivalent transform.
      • invert

        public Se2_F32 invert(Se2_F32 inverse)
        Description copied from interface: InvertibleTransform

        Computes a transform which is the inverse of this transform. The 'this' matrix can be passed in as an input.

        Example:
        Point A = tran(B);
        Point B = inv(A);

        where inv = invert( tran );

        Specified by:
        invert in interface InvertibleTransform<Se2_F32>
        Parameters:
        inverse - Where the inverse will be stored. If null a new instance is created. Modified.
        Returns:
        The inverse transform.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • print

        public void print()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.