16 #ifndef SURGSIM_DATASTRUCTURES_VERTEX_H 17 #define SURGSIM_DATASTRUCTURES_VERTEX_H 26 namespace DataStructures
65 return data == vertex.
data && position == vertex.
position;
73 return ! ((*this) == vertex);
104 return ! ((*this) == vertex);
112 #endif // SURGSIM_DATASTRUCTURES_VERTEX_H Definition: DriveElementFromInputBehavior.cpp:27
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:56
bool operator==(const Vertex< Data > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:63
Specialization of Vertex with no data.
Definition: Vertex.h:80
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:89
Vertex structure for meshes.
Definition: Vertex.h:44
bool operator!=(const Vertex< Data > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:71
Vertex(const SurgSim::Math::Vector3d &position, const Data &data=Data())
Constructor.
Definition: Vertex.h:49
Definitions of small fixed-size vector types.
bool operator==(const Vertex< void > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:94
Data data
Extra vertex data.
Definition: Vertex.h:58
bool operator!=(const Vertex< void > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:102
Vertex(const SurgSim::Math::Vector3d &position)
Constructor.
Definition: Vertex.h:84
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:56