A vertex point representation for STL files. More...
#include <triSurface/STLpoint.H>
A vertex point representation for STL files.
Definition at line 50 of file STLpoint.H.
Public Member Functions | |
STLpoint () | |
Construct null. | |
STLpoint (float x, float y, float z) | |
Construct from components. | |
STLpoint (const point &pt) | |
Construct from point. | |
STLpoint (Istream &is) | |
Construct from istream. | |
operator point () const | |
Conversion to point. | |
STLpoint () | |
Construct null. | |
STLpoint (float x, float y, float z) | |
Construct from components. | |
STLpoint (const point &) | |
Construct from point. | |
STLpoint (Istream &) | |
Construct from istream. | |
operator point () const | |
![]() | |
Vector () | |
Construct null. | |
Vector (const VectorSpace< Vector< float >, float, 3 > &) | |
Construct given VectorSpace. | |
Vector (const float &vx, const float &vy, const float &vz) | |
Construct given three components. | |
Vector (Istream &) | |
Construct from Istream. | |
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>. | |
![]() | |
VectorSpace () | |
Construct null. | |
VectorSpace (Istream &) | |
Construct from Istream. | |
VectorSpace (const VectorSpace< Vector< float >, float, nCmpt > &) | |
Construct as copy. | |
label | size () const |
Return the number of elements in the VectorSpace = nCmpt. | |
const float & | component (const direction) const |
float & | component (const direction) |
void | component (float &, const direction) const |
void | replace (const direction, const float &) |
const float & | operator[] (const direction) const |
float & | operator[] (const direction) |
void | operator= (const VectorSpace< Vector< float >, float, nCmpt > &) |
void | operator+= (const VectorSpace< Vector< float >, float, nCmpt > &) |
void | operator-= (const VectorSpace< Vector< float >, float, 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. | |
![]() | |
enum | |
typedef float | cmptType |
Component type. | |
![]() | |
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 |
|
inline |
Construct null.
Definition at line 60 of file STLpoint.H.
|
inline |
Construct from components.
Definition at line 64 of file STLpoint.H.
Construct from point.
Definition at line 70 of file STLpoint.H.
Construct from istream.
Definition at line 76 of file STLpoint.H.
|
inline |
Construct null.
|
inline |
Construct from components.
Conversion to point.
Definition at line 85 of file STLpoint.H.
References Vector< float >::x(), Vector< float >::y(), and Vector< float >::z().