Documentation of 'boofcv.struct.RectangleRotate_F32' Java class
RectangleRotate_F32
boofcv.struct

Class RectangleRotate_F32



  • public class RectangleRotate_F32
    extends java.lang.Object

    A rectangle which can be rotated. Angle of rotation is relative to +x axis, which is along the rectangle's width. +y is along its height.

    Conversion from rectangle to parent frame:
    x' = x*cos(theta) - y*sin(theta) + cx;
    y' = x*sin(theta) + y*cos(theta) + cy;
    where (x,y) are points in the rectangle's frame.

    • Field Detail

      • cx

        public float cx
      • cy

        public float cy
      • width

        public float width
      • height

        public float height
      • theta

        public float theta
    • Constructor Detail

      • RectangleRotate_F32

        public RectangleRotate_F32(float cx,
                                   float cy,
                                   float width,
                                   float height,
                                   float theta)
      • RectangleRotate_F32

        public RectangleRotate_F32()
    • Method Detail

      • toString

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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.