29 #define _unused(x) ((void)(x)) 31 #include "SUAPI-CppWrapper/model/Vertex.hpp" 40 SUVertexRef Vertex::copy_reference(
const Vertex& other) {
54 Entity(SUVertexToEntity(vertex),
true)
59 Entity(other, SUVertexToEntity(copy_reference(other)))
81 throw std::logic_error(
"CW::Vertex::position(): Vertex is null");
84 SUResult res = SUVertexGetPosition(this->ref(), &point);
85 assert(res == SU_ERROR_NONE); _unused(res);
90 Vertex::operator SUVertexRef()
const {
94 SUVertexRef Vertex::ref()
const {
98 Vertex::operator SUPoint3D()
const {
102 Vertex::operator
Point3D()
const {
Entity()
Constructor representing a null objject.
SUEntityRef m_entity
The C SUEntityRef that this class wraps.
Vertex & operator=(const Vertex &other)
Entity & operator=(const Entity &other)
Copy assignment operator.