Shape::RingBase internal class members
virtual Math::VectorPair2 get_bounding_box() const
This virtual function implements the get_bounding_box
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Get shape bounding box
Get hole radius
virtual double get_hole_radius(const Math::Vector2 &dir) const
This virtual function overrides the get_hole_radius
virtual function defined in the Base
base abstract class.
Documentation inherited from base class:
Get distance between origin and nearest shape outter edge in specified direction
virtual double get_outter_radius(const Math::Vector2 &dir) const
This virtual function implements the get_outter_radius
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Get distance between origin and farthest shape edge in specified direction
Get ring external radius
virtual bool inside(const Math::Vector2 &point) const
This virtual function implements the inside
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Check if the (x,y) 2d point is inside 2d shape area
This virtual function implements the max_radius
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Get distance between origin and farthest shape edge
This virtual function implements the min_radius
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Get distance between origin and nearest shape outter edge
Set ring external radius and hole radius