This page has been translated automatically.
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
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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
Build: ()