OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions
Vec3List Class Reference

#include <vec3.hh>

Inherits vector< Vec3 >, equality_comparable< Vec3List >, additive< Vec3List >, additive< Vec3List, Real >, and multiplicative< Vec3List, Real >.

Inherited by CoordFrame.

Public Types

typedef std::vector< Vec3base_type
 

Public Member Functions

 Vec3List ()
 
 Vec3List (size_t size, const Vec3 &value=Vec3())
 
 Vec3List (base_type::iterator b, base_type::iterator e)
 
 Vec3List (const Vec3List &rhs)
 
 Vec3List (const base_type &rhs)
 
Vec3Listoperator= (const Vec3List &rhs)
 
bool operator== (const Vec3List &rhs) const
 
Vec3Listoperator+= (const Vec3List &rhs)
 
Vec3Listoperator+= (Real d)
 
Vec3Listoperator-= (const Vec3List &rhs)
 
Vec3Listoperator-= (Real d)
 
Vec3Listoperator*= (Real d)
 
Vec3Listoperator/= (Real d)
 
Mat3 GetInertia () const
 
Vec3 GetCenter () const
 
Mat3 GetPrincipalAxes () const
 
Line3 GetODRLine () const
 
Plane GetODRPlane () const
 
void ApplyTransform (const Mat4 &m)
 
Real GetSummedSquaredDistances (const Vec3List &other) const
 
Real GetRMSD (const Vec3List &other) const
 
Real GetGDTHA (const Vec3List &other, bool norm=true) const
 
Real GetGDTTS (const Vec3List &other, bool norm=true) const
 
Real GetGDT (const Vec3List &other, Real thresh, bool norm=true) const
 
Real GetMinDist (const Vec3List &other) const
 
bool IsWithin (const Vec3List &other, Real dist) const
 
std::pair< Line3, RealFitCylinder (const Vec3 &initial_direction) const
 

Detailed Description

Definition at line 233 of file vec3.hh.

Member Typedef Documentation

typedef std::vector<Vec3> base_type

Definition at line 241 of file vec3.hh.

Constructor & Destructor Documentation

Vec3List ( )
inline

Definition at line 242 of file vec3.hh.

Vec3List ( size_t  size,
const Vec3 value = Vec3() 
)
inline

Definition at line 244 of file vec3.hh.

Vec3List ( base_type::iterator  b,
base_type::iterator  e 
)
inline

Definition at line 245 of file vec3.hh.

Vec3List ( const Vec3List rhs)
inline

Definition at line 247 of file vec3.hh.

Vec3List ( const base_type rhs)
inline

Definition at line 248 of file vec3.hh.

Member Function Documentation

void ApplyTransform ( const Mat4 m)
std::pair<Line3, Real> FitCylinder ( const Vec3 initial_direction) const
Vec3 GetCenter ( ) const
Real GetGDT ( const Vec3List other,
Real  thresh,
bool  norm = true 
) const
Real GetGDTHA ( const Vec3List other,
bool  norm = true 
) const
Real GetGDTTS ( const Vec3List other,
bool  norm = true 
) const
Mat3 GetInertia ( ) const
Real GetMinDist ( const Vec3List other) const
Line3 GetODRLine ( ) const
Plane GetODRPlane ( ) const
Mat3 GetPrincipalAxes ( ) const
Real GetRMSD ( const Vec3List other) const
Real GetSummedSquaredDistances ( const Vec3List other) const
bool IsWithin ( const Vec3List other,
Real  dist 
) const
Vec3List& operator*= ( Real  d)
inline

negateable

multipliable

Definition at line 317 of file vec3.hh.

Vec3List& operator+= ( const Vec3List rhs)
inline

addable op

Definition at line 268 of file vec3.hh.

Vec3List& operator+= ( Real  d)
inline

Definition at line 278 of file vec3.hh.

Vec3List& operator-= ( const Vec3List rhs)
inline

subtractable op

Definition at line 287 of file vec3.hh.

Vec3List& operator-= ( Real  d)
inline

Definition at line 298 of file vec3.hh.

Vec3List& operator/= ( Real  d)
inline

dividable

Definition at line 326 of file vec3.hh.

Vec3List& operator= ( const Vec3List rhs)
inline

Definition at line 249 of file vec3.hh.

bool operator== ( const Vec3List rhs) const
inline

comparable

Definition at line 255 of file vec3.hh.


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