class Geo GeoBoundingSphere

This is the documentation for Enlighten.

class Geo GeoBoundingSphere

class Geo::GeoBoundingSphere

This class represents a bounding sphere.

It is stored as a v128, with position in the first 3 components, and radius in w.

Variables

Name

Description

Name

Description

Geo::v128 m_Sphere

The v128 representation.

Functions

Name

Description

Name

Description

GeoBoundingSphere()

Constructor - makes an empty bounding sphere.

GeoBoundingSphere(v128, float)

Constructor - makes a bounding sphere.

GeoBoundingSphere(const GeoBoundingSphere &)

Copy Constructor.

GeoBoundingSphere(const GeoBoundingBox &)

Conversion Constructor.

GeoBoundingSphere(const GeoNonAABoundingBox &)

Conversion Constructor.

GetCenter()

Return the center of this bounding sphere.

GetRadius()

Return the sphere radius.

SetCenter(v128)

Set the center of this bounding sphere.

SetRadius(float)

Set the sphere radius.



Geo::GeoBoundingSphere::GeoBoundingSphere


public: GeoBoundingSphere()


Constructor - makes an empty bounding sphere.



Geo::GeoBoundingSphere::GeoBoundingSphere


public: GeoBoundingSphere
(
    v128 center,
    float radius
)


Constructor - makes a bounding sphere.



Geo::GeoBoundingSphere::GeoBoundingSphere


public: GeoBoundingSphere
(
    const GeoBoundingSphere & from
)


Copy Constructor.



Geo::GeoBoundingSphere::GeoBoundingSphere