Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
SphereClass Class Reference

#include <sphere.h>

Public Member Functions

 SphereClass (void)
 
 SphereClass (const Vector3 &center, float radius)
 
 SphereClass (const Matrix3D &mtx, const Vector3 &center, float radius)
 
 SphereClass (const Vector3 &center, const SphereClass &s0)
 
 SphereClass (const Vector3 *Position, const int VertCount)
 
void Init (const Vector3 &pos, float radius)
 
void Init (const Matrix3D &mtx, const Vector3 &pos, float radius)
 
void Re_Center (const Vector3 &center)
 
void Add_Sphere (const SphereClass &s)
 
void Transform (const Matrix3D &tm)
 
float Volume (void) const
 
SphereClassoperator+= (const SphereClass &s)
 
SphereClassoperator*= (const Matrix3D &m)
 

Public Attributes

Vector3 Center
 
float Radius
 

Detailed Description

Definition at line 71 of file sphere.h.

Constructor & Destructor Documentation

◆ SphereClass() [1/5]

SphereClass::SphereClass ( void )
inline

Definition at line 74 of file sphere.h.

◆ SphereClass() [2/5]

SphereClass::SphereClass ( const Vector3 & center,
float radius )
inline

Definition at line 75 of file sphere.h.

◆ SphereClass() [3/5]

SphereClass::SphereClass ( const Matrix3D & mtx,
const Vector3 & center,
float radius )
inline

Definition at line 76 of file sphere.h.

◆ SphereClass() [4/5]

SphereClass::SphereClass ( const Vector3 & center,
const SphereClass & s0 )
inline

Definition at line 107 of file sphere.h.

◆ SphereClass() [5/5]

SphereClass::SphereClass ( const Vector3 * Position,
const int VertCount )
inline

Definition at line 114 of file sphere.h.

Member Function Documentation

◆ Add_Sphere()

void SphereClass::Add_Sphere ( const SphereClass & s)
inline

Definition at line 309 of file sphere.h.

◆ Init() [1/2]

void SphereClass::Init ( const Matrix3D & mtx,
const Vector3 & pos,
float radius )
inline

Definition at line 266 of file sphere.h.

◆ Init() [2/2]

void SphereClass::Init ( const Vector3 & pos,
float radius )
inline

Definition at line 248 of file sphere.h.

◆ operator*=()

SphereClass & SphereClass::operator*= ( const Matrix3D & m)
inline

Definition at line 415 of file sphere.h.

◆ operator+=()

SphereClass & SphereClass::operator+= ( const SphereClass & s)
inline

Definition at line 396 of file sphere.h.

◆ Re_Center()

void SphereClass::Re_Center ( const Vector3 & center)
inline

Definition at line 289 of file sphere.h.

◆ Transform()

void SphereClass::Transform ( const Matrix3D & tm)
inline

Definition at line 354 of file sphere.h.

◆ Volume()

float SphereClass::Volume ( void ) const
inline

Definition at line 377 of file sphere.h.

Member Data Documentation

◆ Center

Vector3 SphereClass::Center

Definition at line 90 of file sphere.h.

◆ Radius

float SphereClass::Radius

Definition at line 91 of file sphere.h.


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