5#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
8typedef OpenMesh::PolyMesh_ArrayKernelT<>::Point Point;
40 Patch(
int a_BiDeg, std::string a_Group);
48 Patch(
int a_DegU,
int a_DegV);
57 Patch(
int a_DegU,
int a_DegV, std::string a_Group);
bool isValid() const
Checks if a patch is valid.
Definition Patch.cpp:46
void initBBcoefs()
intializes the control points array based on the degrees.
Definition Patch.cpp:60
int m_DegU
Degree in u direction.
Definition Patch.hpp:117
Patch()
Construct a new Patch object.
Definition Patch.cpp:9
std::string m_Group
Group name associated with the patch.
Definition Patch.hpp:128
void degRaise()
Raises the degree of the patch by one in both u and v directions.
Definition Patch.cpp:71
int m_DegV
Degree in v direction.
Definition Patch.hpp:122
Patch(const Patch &other)=default
Copy constructor.
Patch(Patch &&other) noexcept=default
Move constructor.
std::vector< std::vector< Point > > m_BBcoefs
Control points of the Bézier patch.
Definition Patch.hpp:136
const std::string m_PatchType
Patch type Please find patch type at https://www.cise.ufl.edu/research/SurfLab/bview/#file-format.
Definition Patch.hpp:111
Patch & operator=(const Patch &other)
Copy assignment operator.
Definition Patch.cpp:143