Rasterfarm-SDK
Loading...
Searching...
No Matches
Primitive3D::Capsule Class Reference

#include <capsule.h>

Inheritance diagram for Primitive3D::Capsule:
Segment Shape::Skeletal::Bone

Public Member Functions

 Capsule ()
 
 Capsule (const Vertex3f vertex[2], const float &radius)
 
 Capsule (const Segment &seg, const float &radius)
 
 operator AABoundingBox () const
 
 operator Primitive2D::Capsule ()
 
bool operator< (const Capsule &other) const
 
bool operator() (const Capsule &a, const Capsule &b)
 
const float volume () 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 Vertex2foperator[] (uint i) const
 
Vertex2foperator[] (uint i)
 
const Vertex2fgetVertex () const
 
Vertex2fgetVertex ()
 
Vertex2f getLine () const
 
Vertex2f getCenter () const
 
float slope () const
 
 Segment ()
 
 Segment (const Vertex3f &a, const Vector3f &b)
 
 operator Vector3f () const
 
const Vertex3foperator[] (uint i) const
 
Vertex3foperator[] (uint i)
 
 operator Primitive2D::Segment ()
 
Segment operator- () const
 
const bool operator== (const Segment &other) const
 
const Vertex3fgetVertex () const
 
Vertex3fgetVertex ()
 
Vector3f getLine () const
 
Vertex3f getCenter () const
 

Static Public Member Functions

static bool lesserVolume (const Capsule &left, const Capsule &right)
 
static Capsule create (const Vector3fArray &vertexArray)
 

Public Attributes

float radius
 

Additional Inherited Members

- Protected Attributes inherited from Segment
Vertex2f vertex [2]
 
Vertex3f vertex [2]
 

Constructor & Destructor Documentation

◆ Capsule() [1/3]

Primitive3D::Capsule::Capsule ( )

◆ Capsule() [2/3]

Primitive3D::Capsule::Capsule ( const Vertex3f vertex[2],
const float & radius )

◆ Capsule() [3/3]

Primitive3D::Capsule::Capsule ( const Segment & seg,
const float & radius )

Member Function Documentation

◆ create()

static Capsule Primitive3D::Capsule::create ( const Vector3fArray & vertexArray)
static

◆ lesserVolume()

static bool Primitive3D::Capsule::lesserVolume ( const Capsule & left,
const Capsule & right )
inlinestatic

◆ operator AABoundingBox()

Primitive3D::Capsule::operator AABoundingBox ( ) const

◆ operator Primitive2D::Capsule()

Primitive3D::Capsule::operator Primitive2D::Capsule ( )

◆ operator()()

bool Primitive3D::Capsule::operator() ( const Capsule & a,
const Capsule & b )

◆ operator<()

bool Primitive3D::Capsule::operator< ( const Capsule & other) const
inline

◆ volume()

const float Primitive3D::Capsule::volume ( ) const

Member Data Documentation

◆ radius

float Primitive3D::Capsule::radius

The documentation for this class was generated from the following file: