#include <edge_shape.h>
Inheritance diagram for clan::EdgeShape:Public Member Functions | |
Construction | |
| EdgeShape () | |
| Constructs a null instance. More... | |
| EdgeShape (const PhysicsWorld &pw) | |
| Constructs an Edge Shape. More... | |
| EdgeShape (const PhysicsContext &pc) | |
| Constructs an Edge Shape. More... | |
| ~EdgeShape () | |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
Operations | |
| EdgeShape & | operator= (const EdgeShape ©) |
| Copy assignment operator. More... | |
| void | set (const Vec2f &v1, const Vec2f &v2) |
| Set this as an isolated edge. More... | |
Public Member Functions inherited from clan::Shape | |
| Shape () | |
| Constructs a Shape object. More... | |
| virtual | ~Shape () |
| ShapeType | get_shape_type () const |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
| Shape & | operator= (const Shape ©) |
| Copy operator. More... | |
Friends | |
| class | FixtureDescription |
Additional Inherited Members | |
Protected Attributes inherited from clan::Shape | |
| std::shared_ptr< Shape_Impl > | shape_impl |
Edge Shape class.
A line segment (edge) shape. These can be connected in chains or loops to other edge shapes. The connectivity information is used to ensure correct contact normals.