Rounded Rectangle
Represents a transformable rounded rectangle in a two-dimensional Euclidean space.
Implementations that use default-implemented members of this interface must make sure that the properties center, orientation, width, height, cornerRadius and the copy method are independent of other members and the computational complexity of these members is trivial.
Inheritors
Properties
Returns the corner center A of this rounded rectangle.
Returns the corner center B of this rounded rectangle.
Returns the corner center C of this rounded rectangle.
Returns the corner center D of this rounded rectangle.
Returns the corner radius of this rounded rectangle.
Returns the orientation of this object in reference to the origin of ComplexF.ONE.
Returns the position of this object in reference to the origin of Vector2F.ZERO.
Functions
Returns the closest point on this rounded rectangle to the given point.
Returns the center of this rounded rectangle.
Returns the orientation of this rounded rectangle.
Returns the width of this rounded rectangle.
Returns the height of this rounded rectangle.
Returns the cornerRadius of this rounded rectangle.
Creates an iterator over the corner centers of this rounded rectangle.
Returns true if this rounded rectangle intersects the given ray.
Returns a copy of this object that is moved by a displacement.
Returns a copy of this object that is moved to the position.
Creates an iterator over the points of this rounded rectangle.
Returns a copy of this object that is rotated around the point to the orientation.
Returns a copy of this object that is rotated by a rotation.
Returns a copy of this object that is rotated to the orientation.
Returns a copy of this object that is scaled by a factor.
Returns a copy of this object that is moved by a displacement and rotated by a rotation.
Returns a copy of this object that is moved by a displacement, rotated by a rotation, and scaled by a scaleFactor.
Returns a copy of this object that is moved to the position and rotated to the orientation.