OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::AlphaHull Class Reference

#include <AlphaHull.hpp>

Inheritance diagram for OpenMD::AlphaHull:
OpenMD::Hull

Public Member Functions

 AlphaHull (RealType alpha)
 
virtual ~AlphaHull ()
 
void computeHull (std::vector< StuntDouble *> bodydoubles)
 
RealType getArea ()
 
RealType getVolume ()
 
vector< TrianglegetMesh ()
 
- Public Member Functions inherited from OpenMD::Hull
virtual ~Hull ()
 

Protected Attributes

int dim_
 
RealType alpha_
 
const std::string options_
 

Private Attributes

RealType volume_
 
RealType area_
 
std::vector< TriangleTriangles_
 

Detailed Description

Definition at line 64 of file AlphaHull.hpp.

Constructor & Destructor Documentation

◆ AlphaHull()

AlphaHull::AlphaHull ( RealType  alpha)

Definition at line 68 of file AlphaHull.cpp.

◆ ~AlphaHull()

virtual OpenMD::AlphaHull::~AlphaHull ( )
inlinevirtual

Definition at line 68 of file AlphaHull.hpp.

References computeHull().

Member Function Documentation

◆ computeHull()

◆ getArea()

RealType OpenMD::AlphaHull::getArea ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 73 of file AlphaHull.hpp.

References area_.

◆ getMesh()

vector<Triangle> OpenMD::AlphaHull::getMesh ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 78 of file AlphaHull.hpp.

References Triangles_.

◆ getVolume()

RealType OpenMD::AlphaHull::getVolume ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 76 of file AlphaHull.hpp.

References volume_.

Member Data Documentation

◆ alpha_

RealType OpenMD::AlphaHull::alpha_
protected

Definition at line 82 of file AlphaHull.hpp.

Referenced by computeHull().

◆ area_

RealType OpenMD::AlphaHull::area_
private

Definition at line 89 of file AlphaHull.hpp.

Referenced by computeHull(), and getArea().

◆ dim_

int OpenMD::AlphaHull::dim_
protected

Definition at line 81 of file AlphaHull.hpp.

Referenced by computeHull().

◆ options_

const std::string OpenMD::AlphaHull::options_
protected

Definition at line 83 of file AlphaHull.hpp.

Referenced by computeHull().

◆ Triangles_

std::vector<Triangle> OpenMD::AlphaHull::Triangles_
private

Definition at line 90 of file AlphaHull.hpp.

Referenced by computeHull(), and getMesh().

◆ volume_

RealType OpenMD::AlphaHull::volume_
private

Definition at line 88 of file AlphaHull.hpp.

Referenced by computeHull(), and getVolume().


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