A vertex point representation for STL files. More...
Public Member Functions | |
STLpoint () | |
Construct null. More... | |
STLpoint (float x, float y, float z) | |
Construct from components. More... | |
STLpoint (const point &) | |
Construct from point. More... | |
STLpoint (Istream &) | |
Construct from istream. More... | |
operator point () const | |
STLpoint () | |
Construct null. More... | |
STLpoint (float x, float y, float z) | |
Construct from components. More... | |
STLpoint (const point &pt) | |
Construct from point. More... | |
STLpoint (Istream &is) | |
Construct from istream. More... | |
operator point () const | |
Conversion to point. More... | |
![]() | |
Vector () | |
Construct null. More... | |
Vector (const VectorSpace< Vector< Cmpt2 >, Cmpt2, 3 > &) | |
Construct given VectorSpace of the same rank. More... | |
Vector (const float &vx, const float &vy, const float &vz) | |
Construct given three components. More... | |
Vector (Istream &) | |
Construct from Istream. More... | |
const float & | x () const |
float & | x () |
const float & | y () const |
float & | y () |
const float & | z () const |
float & | z () |
const Vector< float > & | centre (const Foam::List< Vector< float > > &) const |
Return *this (used for point which is a typedef to Vector<scalar>. More... | |
![]() | |
VectorSpace () | |
Construct null. More... | |
VectorSpace (Istream &) | |
Construct from Istream. More... | |
VectorSpace (const VectorSpace< Form, Cmpt, nCmpt > &) | |
Construct as copy. More... | |
VectorSpace (const VectorSpace< Form2, Cmpt2, nCmpt > &) | |
Construct as copy of another VectorSpace type of the same rank. More... | |
label | size () const |
Return the number of elements in the VectorSpace = nCmpt. More... | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator+= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator-= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
Additional Inherited Members | |
![]() | |
enum | |
enum | components |
Component labeling enumeration. More... | |
typedef Vector< label > | labelType |
Equivalent type of labels used for valid component indexing. More... | |
![]() | |
enum | |
typedef Cmpt | cmptType |
Component type. More... | |
![]() | |
Cmpt | v_ [nCmpt] |
The components of this vector space. More... | |
![]() | |
static const char *const | typeName |
static const char * | componentNames [] |
static const Vector | zero |
static const Vector | one |
static const Vector | max |
static const Vector | min |
static const Vector | rootMax |
static const Vector | rootMin |
A vertex point representation for STL files.
Definition at line 48 of file STLpoint.H.
|
inline |
Construct null.
Definition at line 33 of file STLpointI.H.
|
inline |
Construct from components.
Definition at line 36 of file STLpointI.H.
Construct from point.
Definition at line 41 of file STLpointI.H.
Construct from istream.
Definition at line 46 of file STLpointI.H.
|
inline |
Construct null.
Definition at line 58 of file STLpoint.H.
|
inline |
Construct from components.
Definition at line 62 of file STLpoint.H.
Construct from point.
Definition at line 68 of file STLpoint.H.
Construct from istream.
Definition at line 74 of file STLpoint.H.
Conversion to point.
Definition at line 83 of file STLpoint.H.
References Vector< float >::x(), Vector< float >::y(), and Vector< float >::z().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.