Public Member Functions | List of all members
STLpoint Class Reference

A vertex point or facet normal representation for STL files. More...

Inheritance diagram for STLpoint:
Inheritance graph
[legend]
Collaboration diagram for STLpoint:
Collaboration graph
[legend]

Public Member Functions

 STLpoint ()
 
 STLpoint (const Vector< float > &p)
 
 STLpoint (const Vector< double > &p)
 
 STLpoint (float x, float y, float z)
 
 STLpoint (double x, double y, double z)
 
- Public Member Functions inherited from Vector< Cmpt >
 Vector ()=default
 
 Vector (const Vector &)=default
 
Vectoroperator= (const Vector &)=default
 
 Vector (const Foam::zero)
 
template<class Cmpt2 >
 Vector (const VectorSpace< Vector< Cmpt2 >, Cmpt2, 3 > &vs)
 
 Vector (const Cmpt &vx, const Cmpt &vy, const Cmpt &vz)
 
 Vector (Istream &is)
 
const Cmpt & x () const
 
const Cmpt & y () const
 
const Cmpt & z () const
 
Cmpt & x ()
 
Cmpt & y ()
 
Cmpt & z ()
 
Vector< Cmpt > & normalise ()
 
const Vector< Cmpt > & centre (const Foam::List< Vector< Cmpt >> &) const
 
- Public Member Functions inherited from VectorSpace< Vector< Cmpt >, Cmpt, 3 >
 VectorSpace ()=default
 
 VectorSpace (const Foam::zero)
 
 VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs)
 
 VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &)
 
 VectorSpace (Istream &is)
 
const Cmpt & component (const direction) const
 
Cmpt & component (const direction)
 
void component (Cmpt &, const direction) const
 
void replace (const direction, const Cmpt &)
 
const Cmpt * cdata () const noexcept
 
Cmpt * data () noexcept
 
const ConstBlock< SubVector, BStart > block () const
 
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > block () const
 
const Cmpt & operator[] (const direction) const
 
Cmpt & operator[] (const direction)
 
void operator= (const VectorSpace< Form, Cmpt, Ncmpts > &)
 
void operator= (const Foam::zero)
 
void operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &)
 
void operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &)
 
void operator*= (const scalar)
 
void operator/= (const scalar)
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 

Additional Inherited Members

- Public Types inherited from Vector< Cmpt >
enum  components { X, Y, Z }
 
typedef Vector< label > labelType
 
- Public Types inherited from VectorSpace< Vector< Cmpt >, Cmpt, 3 >
typedef VectorSpace< Form, Cmpt, Ncmpts > vsType
 
typedef Cmpt cmptType
 
typedef Cmpt magType
 
typedef Cmpt * iterator
 
- Static Public Member Functions inherited from VectorSpace< Vector< Cmpt >, Cmpt, 3 >
static constexpr direction size () noexcept
 
static Form uniform (const Cmpt &s)
 
- Public Attributes inherited from VectorSpace< Vector< Cmpt >, Cmpt, 3 >
const typedef Cmpt * const_iterator
 
Cmpt v_ [Ncmpts]
 
- Static Public Attributes inherited from Vector< Cmpt >
static constexpr direction rank = 1
 
- Static Public Attributes inherited from VectorSpace< Vector< Cmpt >, Cmpt, 3 >
static constexpr direction dim
 
static constexpr direction nComponents
 
static constexpr direction mRows
 
static constexpr direction nCols
 
static const char *const typeName
 
static const char *const componentNames []
 
static const Form zero
 
static const Form one
 
static const Form max
 
static const Form min
 
static const Form rootMax
 
static const Form rootMin
 

Detailed Description

A vertex point or facet normal representation for STL files.

Definition at line 43 of file STLpoint.H.

Constructor & Destructor Documentation

◆ STLpoint() [1/5]

STLpoint ( )
inline

Definition at line 53 of file STLpoint.H.

◆ STLpoint() [2/5]

STLpoint ( const Vector< float > &  p)
inline

Definition at line 57 of file STLpoint.H.

◆ STLpoint() [3/5]

STLpoint ( const Vector< double > &  p)
inline

Definition at line 63 of file STLpoint.H.

◆ STLpoint() [4/5]

STLpoint ( float  x,
float  y,
float  z 
)
inline

Definition at line 69 of file STLpoint.H.

◆ STLpoint() [5/5]

STLpoint ( double  x,
double  y,
double  z 
)
inline

Definition at line 75 of file STLpoint.H.


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