All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
SurgSim::DataStructures::Vertex< void > Struct Template 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

template<>
struct SurgSim::DataStructures::Vertex< void >

Specialization of Vertex with no data.

See also
Vertex

Constructor & Destructor Documentation

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

Constructor.

Parameters
positionPosition of the vertex

Member Function Documentation

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.
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 of the vertex.


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