#include <pyramidworks/geometry/circle.h>
List of all members.
Detailed Description
A circle, one type of GeometricShape.
Constructor & Destructor Documentation
Member Function Documentation
Returns a bounding box for this shape.
The box is at the shape's position and offset
- Parameters:
-
position | The absolute position for this shape. |
- Returns:
- A 2D Box around this shape
Implements pyramidworks::geometry::GeometricShape.
Checks if this shape intersects another shape.
- Parameters:
-
this_pos | The absolute position for this shape. |
obj | The shape to compare with. |
that_pos | The absolute position of the other shape. |
- Returns:
- True if there's an intersection.
Implements pyramidworks::geometry::GeometricShape.
Checks if there's an intersection with a Rect.
- Parameters:
-
this_pos | The absolute position for this shape. |
obj | The shape to compare with. |
that_pos | The absolute position of the other shape. |
- Returns:
- True if there's an intersection.
Implements pyramidworks::geometry::GeometricShape.
Checks if there's an intersection with a Circle.
- Parameters:
-
this_pos | The absolute position for this shape. |
obj | The shape to compare with. |
that_pos | The absolute position of the other shape. |
- Returns:
- True if there's an intersection.
Implements pyramidworks::geometry::GeometricShape.
Checks if there's an intersection with a Convex Polygon.
- Parameters:
-
this_pos | The absolute position for this shape. |
obj | The shape to compare with. |
that_pos | The absolute position of the other shape. |
- Returns:
- True if there's an intersection.
Implements pyramidworks::geometry::GeometricShape.
Getter for the radius.
- Returns:
- A double.
Setter the radius.
- Parameters:
-
The documentation for this class was generated from the following files: