MeshLink
Computational geometry access
|
Parametric geometry data. More...
#include <MeshTopo.h>
Public Member Functions | |
ParamVertex () | |
Default constructor. More... | |
ParamVertex (const std::string &vref, MLINT gref, MLINT mid, MLREAL u, MLREAL v) | |
const std::string & | getVref () const |
Return the MeshPoint vertex reference. More... | |
MLINT | getGref () const |
Return the associated geometry GID. More... | |
MLINT | getID () const |
Return this entity's ID. More... | |
void | getUV (MLREAL *u, MLREAL *v) const |
Return the associated geometry parametric coordinates. More... | |
Private Attributes | |
std::string | vref_ |
The application-defined reference string. More... | |
MLINT | gref_ |
The geometry reference ID. More... | |
MLINT | mid_ |
The unique ID. More... | |
MLREAL | u_ |
The parametric U value. More... | |
MLREAL | v_ |
The parametric V value. More... | |
Parametric geometry data.
Provides access to MeshLink schema parametric vertex data
Definition at line 69 of file MeshTopo.h.
|
inline |
Default constructor.
Definition at line 72 of file MeshTopo.h.
|
inline |
Constructor with parametric data
vref | the application-define vertex reference string (required non-empty) |
gref | the geometry reference ID (required non-zero) |
mid | the unique ID (optional) |
u | the parametric U value in the space of the referenced geometry |
v | the parametric V value in the space of the referenced geometry |
Definition at line 85 of file MeshTopo.h.
|
inline |
Return the associated geometry GID.
Definition at line 95 of file MeshTopo.h.
|
inline |
Return this entity's ID.
Definition at line 97 of file MeshTopo.h.
Return the associated geometry parametric coordinates.
[out] | u | the parametric U value |
[out] | v | the parametric V value |
Definition at line 101 of file MeshTopo.h.
|
inline |
Return the MeshPoint vertex reference.
Definition at line 93 of file MeshTopo.h.
|
private |
The geometry reference ID.
Definition at line 106 of file MeshTopo.h.
|
private |
The unique ID.
Definition at line 108 of file MeshTopo.h.
|
private |
The parametric U value.
Definition at line 110 of file MeshTopo.h.
|
private |
The parametric V value.
Definition at line 112 of file MeshTopo.h.
|
private |
The application-defined reference string.
Definition at line 104 of file MeshTopo.h.