triplet Struct Reference

Public Types

typedef int value_type
 

Public Member Functions

double distance_to (triplet const &x) const
 
value_type operator[] (size_t const N) const
 
 triplet (const triplet &x)
 
 triplet (value_type a, value_type b, value_type c)
 
 ~triplet ()
 

Public Attributes

value_type d [3]
 

Member Typedef Documentation

◆ value_type

Constructor & Destructor Documentation

◆ triplet() [1/2]

triplet::triplet ( value_type  a,
value_type  b,
value_type  c 
)

References d.

◆ triplet() [2/2]

triplet::triplet ( const triplet x)

References d.

◆ ~triplet()

triplet::~triplet ( )

Member Function Documentation

◆ distance_to()

double triplet::distance_to ( triplet const &  x) const

References d, and DraftVecUtils::dist().

◆ operator[]()

value_type triplet::operator[] ( size_t const  N) const

References d.

Member Data Documentation

◆ d

value_type triplet::d[3]

Referenced by distance_to(), operator[](), and triplet().


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