Rasterfarm-SDK
|
#include <capsule.h>
Public Member Functions | |
Capsule () | |
Capsule (const Vertex2f vertex[2], const float &radius) | |
Capsule (const Segment &seg, const float &radius) | |
bool | operator() (const Capsule &a, const Capsule &b) |
const float & | getRadius () const |
float & | getRadius () |
const float | area () const |
Public Member Functions inherited from Segment | |
Segment () | |
Segment (const Vertex2f &a, const Vertex2f &b) | |
Segment | operator- () const |
operator Vector2f () const | |
const bool | operator== (const Segment &other) const |
const bool | operator!= (const Segment &other) const |
const Vertex2f & | operator[] (uint i) const |
Vertex2f & | operator[] (uint i) |
const Vertex2f & | getVertex () const |
Vertex2f & | getVertex () |
Vertex2f | getLine () const |
Vertex2f | getCenter () const |
float | slope () const |
Segment () | |
Segment (const Vertex3f &a, const Vector3f &b) | |
operator Vector3f () const | |
const Vertex3f & | operator[] (uint i) const |
Vertex3f & | operator[] (uint i) |
operator Primitive2D::Segment () | |
Segment | operator- () const |
const bool | operator== (const Segment &other) const |
const Vertex3f & | getVertex () const |
Vertex3f & | getVertex () |
Vector3f | getLine () const |
Vertex3f | getCenter () const |
Static Public Member Functions | |
static bool | lesserArea (const Capsule &left, const Capsule &right) |
Public Attributes | |
float | radius |
Additional Inherited Members | |
Protected Attributes inherited from Segment | |
Vertex2f | vertex [2] |
Vertex3f | vertex [2] |
Capsule::Capsule | ( | ) |
const float Capsule::area | ( | ) | const |
|
inline |
|
inline |
float Capsule::radius |