Workspace 6.21.5
Public Member Functions | Public Attributes | List of all members
OctreeVector3< ScalarType > Class Template Reference

Templated Vector3 class for use by the Octree. More...

#include <Mesh/DataStructures/octree.h>

Inheritance diagram for OctreeVector3< ScalarType >:
[legend]

Public Member Functions

 OctreeVector3 ()=default
 
 OctreeVector3 (const Mesh::Vector3d &vector)
 
 OctreeVector3 (ScalarType xIn, ScalarType yIn, ScalarType zIn)
 
Mesh::Vector3d asVector3d () const
 
ScalarType magnitudeSq () const
 

Public Attributes

ScalarType x
 
ScalarType y
 
ScalarType z
 

Detailed Description

template<typename ScalarType>
class CSIRO::Mesh::OctreeVector3< ScalarType >

Octree may be created as single or double floating-point depending on whether it's being used on the CPU or GPU which may or may not support doubles.

Constructor & Destructor Documentation

◆ OctreeVector3() [1/3]

OctreeVector3 ( )
default

◆ OctreeVector3() [2/3]

OctreeVector3 ( ScalarType  xIn,
ScalarType  yIn,
ScalarType  zIn 
)
inline

◆ OctreeVector3() [3/3]

OctreeVector3 ( const Mesh::Vector3d vector)
inline

Member Function Documentation

◆ asVector3d()

Mesh::Vector3d asVector3d ( ) const
inline

◆ magnitudeSq()

ScalarType magnitudeSq ( ) const
inline

Member Data Documentation

◆ x

ScalarType x

◆ y

ScalarType y

◆ z

ScalarType z