MeshLink
Computational geometry access
ParamVertex Class Reference

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...
 

Detailed Description

Parametric geometry data.

Provides access to MeshLink schema parametric vertex data

Definition at line 69 of file MeshTopo.h.

Constructor & Destructor Documentation

◆ ParamVertex() [1/2]

ParamVertex::ParamVertex ( )
inline

Default constructor.

Definition at line 72 of file MeshTopo.h.

◆ ParamVertex() [2/2]

ParamVertex::ParamVertex ( const std::string &  vref,
MLINT  gref,
MLINT  mid,
MLREAL  u,
MLREAL  v 
)
inline

Constructor with parametric data

Parameters
vrefthe application-define vertex reference string (required non-empty)
grefthe geometry reference ID (required non-zero)
midthe unique ID (optional)
uthe parametric U value in the space of the referenced geometry
vthe parametric V value in the space of the referenced geometry

Definition at line 85 of file MeshTopo.h.

Member Function Documentation

◆ getGref()

MLINT ParamVertex::getGref ( ) const
inline

Return the associated geometry GID.

Definition at line 95 of file MeshTopo.h.

◆ getID()

MLINT ParamVertex::getID ( ) const
inline

Return this entity's ID.

Definition at line 97 of file MeshTopo.h.

◆ getUV()

void ParamVertex::getUV ( MLREAL u,
MLREAL v 
) const
inline

Return the associated geometry parametric coordinates.

Parameters
[out]uthe parametric U value
[out]vthe parametric V value

Definition at line 101 of file MeshTopo.h.

◆ getVref()

const std::string& ParamVertex::getVref ( ) const
inline

Return the MeshPoint vertex reference.

Definition at line 93 of file MeshTopo.h.

Member Data Documentation

◆ gref_

MLINT ParamVertex::gref_
private

The geometry reference ID.

Definition at line 106 of file MeshTopo.h.

◆ mid_

MLINT ParamVertex::mid_
private

The unique ID.

Definition at line 108 of file MeshTopo.h.

◆ u_

MLREAL ParamVertex::u_
private

The parametric U value.

Definition at line 110 of file MeshTopo.h.

◆ v_

MLREAL ParamVertex::v_
private

The parametric V value.

Definition at line 112 of file MeshTopo.h.

◆ vref_

std::string ParamVertex::vref_
private

The application-defined reference string.

Definition at line 104 of file MeshTopo.h.


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