Go to the documentation of this file.
16 #ifndef SURGSIM_DATASTRUCTURES_VERTEX_H
17 #define SURGSIM_DATASTRUCTURES_VERTEX_H
26 namespace DataStructures
99 return ! ((*this) == vertex);
130 return ! ((*this) == vertex);
138 #endif // SURGSIM_DATASTRUCTURES_VERTEX_H
Definitions of small fixed-size vector types.
bool operator!=(const Vertex< void > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:128
Vertex(const Vertex< T > &other)
Copy constructor when the template data is a different type In this case, no data will be copied.
Definition: Vertex.h:65
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:115
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
Definition: CompoundShapeToGraphics.cpp:30
Vertex structure for meshes.
Definition: Vertex.h:45
Vertex(const SurgSim::Math::Vector3d &position)
Constructor.
Definition: Vertex.h:110
bool operator!=(const Vertex< Data > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:97
Vertex()
Constructor.
Definition: Vertex.h:47
bool operator==(const Vertex< void > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:120
bool operator==(const Vertex< Data > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:89
Vertex< Data > & operator=(const Vertex< T > &other)
Assignment when the template data is a different type In this case, no data will be copied.
Definition: Vertex.h:75
Vertex(const SurgSim::Math::Vector3d &position, const Data &data=Data())
Constructor.
Definition: Vertex.h:54
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:82
Data data
Extra vertex data.
Definition: Vertex.h:84
Specialization of Vertex with no data.
Definition: Vertex.h:107