rpos::core::ORectangleF class

ORectangleF denotes oriented rectangle, which coordinates are all floats

Header File

rpos/core/detail/geometry_rectangle.h

Applies to

  • Slamware
  • Mapper

Constructors

ORectangleF()  
ORectangleF(Vector2f start, Vector2f end, float halfWidth)  
ORectangleF(const RectangleF&)

Concstruct RectangleF objects ORectangleF

Methods

const Vector2f& start() const、 Vector2f& start()  

start point of ORectangleF

 const Vector2f& end() const、Vector2f& end()  

end point of ORectangleF

float halfWidth() const、float& halfWidth()  

half width of ORectangleF