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

#include <sphere.h>

Public Member Functions

 Sphere ()
 
 Sphere (const Vertex3f &origin, const float &radius)
 
bool operator== (const Sphere &other)
 
bool operator!= (const Sphere &other)
 
 operator Primitive2D::Circle ()
 
 operator AABoundingBox () const
 

Public Attributes

Vertex3f origin
 
float radius
 

Constructor & Destructor Documentation

◆ Sphere() [1/2]

Primitive3D::Sphere::Sphere ( )

◆ Sphere() [2/2]

Primitive3D::Sphere::Sphere ( const Vertex3f & origin,
const float & radius )

Member Function Documentation

◆ operator AABoundingBox()

Primitive3D::Sphere::operator AABoundingBox ( ) const

◆ operator Primitive2D::Circle()

Primitive3D::Sphere::operator Primitive2D::Circle ( )

◆ operator!=()

bool Primitive3D::Sphere::operator!= ( const Sphere & other)
inline

◆ operator==()

bool Primitive3D::Sphere::operator== ( const Sphere & other)
inline

Member Data Documentation

◆ origin

Vertex3f Primitive3D::Sphere::origin

◆ radius

float Primitive3D::Sphere::radius

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