23#ifndef VCL_MESH_ELEMENTS_EDGE_H
24#define VCL_MESH_ELEMENTS_EDGE_H
28#include <vclib/concepts/mesh/elements/edge.h>
46template<
typename MeshType,
typename... Comps>
50 using VRefs =
typename Edge::VertexReferences;
53 using VertexType = VRefs::VertexType;
54 using VRefs::setVertices;
73 VRefs::setVertex(0u,
v0);
74 VRefs::setVertex(1u, v1);
85 VRefs::setVertex(0u,
vi0);
86 VRefs::setVertex(1u,
vi1);
90template<
typename MeshType,
typename... Comps>
The Edge class represents an Edge element of the vcl::Mesh class.
Definition edge.h:48
void setVertices(uint vi0, uint vi1)
Sets the vertices of the edge.
Definition edge.h:83
Edge()=default
Empty constructor.
void setVertices(VertexType *v0, VertexType *v1)
Sets the vertices of the edge.
Definition edge.h:71
The Element class.
Definition element.h:57
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
A simple structure that wraps a list of variadic templates, without instantiating anything....
Definition type_wrapper.h:41