OpenStructure
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

◆ base_type

typedef std::vector<Vec3> base_type

Definition at line 241 of file vec3.hh.

Constructor & Destructor Documentation

◆ Vec3List() [1/5]

Vec3List ( )
inline

Definition at line 242 of file vec3.hh.

◆ Vec3List() [2/5]

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

Definition at line 244 of file vec3.hh.

◆ Vec3List() [3/5]

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

Definition at line 245 of file vec3.hh.

◆ Vec3List() [4/5]

Vec3List ( const Vec3List rhs)
inline

Definition at line 247 of file vec3.hh.

◆ Vec3List() [5/5]

Vec3List ( const base_type rhs)
inline

Definition at line 248 of file vec3.hh.

Member Function Documentation

◆ ApplyTransform()

void ApplyTransform ( const Mat4 m)

◆ FitCylinder()

std::pair<Line3, Real> FitCylinder ( const Vec3 initial_direction) const

◆ GetCenter()

Vec3 GetCenter ( ) const

◆ GetGDT()

Real GetGDT ( const Vec3List other,
Real  thresh,
bool  norm = true 
) const

◆ GetGDTHA()

Real GetGDTHA ( const Vec3List other,
bool  norm = true 
) const

◆ GetGDTTS()

Real GetGDTTS ( const Vec3List other,
bool  norm = true 
) const

◆ GetInertia()

Mat3 GetInertia ( ) const

◆ GetMinDist()

Real GetMinDist ( const Vec3List other) const

◆ GetODRLine()

Line3 GetODRLine ( ) const

◆ GetODRPlane()

Plane GetODRPlane ( ) const

◆ GetPrincipalAxes()

Mat3 GetPrincipalAxes ( ) const

◆ GetRMSD()

Real GetRMSD ( const Vec3List other) const

◆ GetSummedSquaredDistances()

Real GetSummedSquaredDistances ( const Vec3List other) const

◆ IsWithin()

bool IsWithin ( const Vec3List other,
Real  dist 
) const

◆ operator*=()

Vec3List& operator*= ( Real  d)
inline

negateable

multipliable

Definition at line 317 of file vec3.hh.

◆ operator+=() [1/2]

Vec3List& operator+= ( const Vec3List rhs)
inline

addable op

Definition at line 268 of file vec3.hh.

◆ operator+=() [2/2]

Vec3List& operator+= ( Real  d)
inline

Definition at line 278 of file vec3.hh.

◆ operator-=() [1/2]

Vec3List& operator-= ( const Vec3List rhs)
inline

subtractable op

Definition at line 287 of file vec3.hh.

◆ operator-=() [2/2]

Vec3List& operator-= ( Real  d)
inline

Definition at line 298 of file vec3.hh.

◆ operator/=()

Vec3List& operator/= ( Real  d)
inline

dividable

Definition at line 326 of file vec3.hh.

◆ operator=()

Vec3List& operator= ( const Vec3List rhs)
inline

Definition at line 249 of file vec3.hh.

◆ operator==()

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: