Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Core Library
Engine-Related Classes
GUI-Related Classes
Node-Related Classes
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Utility Classes

WorldBoundSphere Class

WorldBoundSphere Class

Members


WorldBoundSphere ()

WorldBoundSphere (const dvec3 & center, double radius)

Arguments

  • const dvec3 & center
  • double radius

WorldBoundSphere (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

WorldBoundSphere (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

void clear ()

int isValid ()

Return value

const dvec3 & getCenter ()

Return value

int inside (const dvec3 & min, const dvec3 & max)

Arguments

  • const dvec3 & min
  • const dvec3 & max

Return value

void set (const dvec3 & center, double radius)

Arguments

  • const dvec3 & center
  • double radius

int insideAll (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

Return value

int inside (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

Return value

void set (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

void set (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

void expand (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

void expand (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

void expand (const dvec3 & point)

Arguments

  • const dvec3 & point

int inside (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

Return value

int insideAll (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

Return value

int inside (const dvec3 & point, double radius)

Arguments

  • const dvec3 & point
  • double radius

Return value

double getRadius ()

Return value

Last update: 2017-07-03