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

## Vertex()

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

inline explicit

Constructor.

Parameters

  position | Position 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

  vertex | The 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

  vertex | The Vertex to compare it to

Returns
  True if the two vertices are equal, false otherwise.

## Member Data Documentation

## position

SurgSim::Math::Vector3d SurgSim::DataStructures::Vertex< void >::position

Position of the vertex.

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

- SurgSim/DataStructures/Vertex.h