Public Member Functions | Public Attributes | List of all members
SurgSim::DataStructures::Vertex< void > Struct Reference

Specialization of Vertex with no data. More...

#include <SurgSim/DataStructures/Vertex.h>

Public Member Functions

 Vertex (const SurgSim::Math::Vector3d &position)
 Constructor. More...
 
bool operator== (const Vertex< void > &vertex) const
 Compare the vertex to another one (equality) More...
 
bool operator!= (const Vertex< void > &vertex) const
 Compare the vertex to another one (inequality) More...
 

Public Attributes

SurgSim::Math::Vector3d position
 Position of the vertex. More...
 

Detailed Description

Specialization of Vertex with no data.

See also
Vertex

Constructor & Destructor Documentation

◆ Vertex()

SurgSim::DataStructures::Vertex< void >::Vertex ( const SurgSim::Math::Vector3d position)
inlineexplicit

Constructor.

Parameters
positionPosition of the vertex

Member Function Documentation

◆ operator!=()

bool SurgSim::DataStructures::Vertex< void >::operator!= ( const Vertex< void > &  vertex) const
inline

Compare the vertex to another one (inequality)

Parameters
vertexThe Vertex to compare it to
Returns
False if the two vertices are equal, true otherwise.

◆ operator==()

bool SurgSim::DataStructures::Vertex< void >::operator== ( const Vertex< void > &  vertex) const
inline

Compare the vertex to another one (equality)

Parameters
vertexThe Vertex to compare it to
Returns
True if the two vertices are equal, false otherwise.

Member Data Documentation

◆ position

Position of the vertex.


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