OpenStructure
Public Member Functions
AlignedCuboid Class Reference

#include <aligned_cuboid.hh>

Public Member Functions

 AlignedCuboid ()
 
 AlignedCuboid (const Vec3 &mmin, const Vec3 &mmax)
 
Vec3 GetSize () const
 
Real GetVolume () const
 
const Vec3GetMin () const
 
const Vec3GetMax () const
 
Vec3 GetCenter () const
 

Detailed Description

axis-aligned cuboid

For an arbitrarily oriented cuboid see Cuboid

Definition at line 35 of file aligned_cuboid.hh.

Constructor & Destructor Documentation

◆ AlignedCuboid() [1/2]

AlignedCuboid ( )
inline

Definition at line 37 of file aligned_cuboid.hh.

◆ AlignedCuboid() [2/2]

AlignedCuboid ( const Vec3 mmin,
const Vec3 mmax 
)
inline

Definition at line 38 of file aligned_cuboid.hh.

Member Function Documentation

◆ GetCenter()

Vec3 GetCenter ( ) const
inline

Definition at line 51 of file aligned_cuboid.hh.

◆ GetMax()

const Vec3& GetMax ( ) const
inline

Definition at line 49 of file aligned_cuboid.hh.

◆ GetMin()

const Vec3& GetMin ( ) const
inline

Definition at line 47 of file aligned_cuboid.hh.

◆ GetSize()

Vec3 GetSize ( ) const
inline

Definition at line 40 of file aligned_cuboid.hh.

◆ GetVolume()

Real GetVolume ( ) const
inline

Definition at line 42 of file aligned_cuboid.hh.


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