A vertex point or facet normal representation for STL files. More...
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) | |
![]() | |
Vector ()=default | |
Vector (const Vector &)=default | |
Vector & | operator= (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 |
![]() | |
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 | |
![]() | |
enum | components { X, Y, Z } |
typedef Vector< label > | labelType |
![]() | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
typedef Cmpt | cmptType |
typedef Cmpt | magType |
typedef Cmpt * | iterator |
![]() | |
static constexpr direction | size () noexcept |
static Form | uniform (const Cmpt &s) |
![]() | |
const typedef Cmpt * | const_iterator |
Cmpt | v_ [Ncmpts] |
![]() | |
static constexpr direction | rank = 1 |
![]() | |
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 |
A vertex point or facet normal representation for STL files.
Definition at line 43 of file STLpoint.H.
|
inline |
Definition at line 53 of file STLpoint.H.
Definition at line 57 of file STLpoint.H.
Definition at line 63 of file STLpoint.H.
|
inline |
Definition at line 69 of file STLpoint.H.
|
inline |
Definition at line 75 of file STLpoint.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.