|
Phyzix
|
An abstract class to represent a boundary. More...
#include <Boundary.h>
Public Member Functions | |
| RuntimeBaseType | getBaseType () const override |
| virtual BoundaryIntersectionResult | intersects (Boundary *other)=0 |
| A pure virtual function to check if the boundary intersects with another boundary. | |
Static Public Member Functions | |
| static BoundaryIntersectionResult | intersects (Boundaries b1, Boundaries b2) |
| A static function to check if two boundaries (list) intersect. | |
Public Attributes | |
| float | e = 0.8 |
An abstract class to represent a boundary.
|
inlineoverridevirtual |
Reimplemented from RuntimeBaseTypeIdentifiable.
|
inlinestatic |
A static function to check if two boundaries (list) intersect.
| b1 | |
| b2 |
|
pure virtual |
A pure virtual function to check if the boundary intersects with another boundary.
| other |
Implemented in CircleBoundary, and LineSegmentBoundary.
| float Boundary::e = 0.8 |
Coefficient of restitution