template<typename LhsMeshT, typename RhsMeshT>
struct OpenMesh::MeshCast< LhsMeshT, RhsMeshT >
Cast a mesh with different but identical traits into each other.
Note that there exists a syntactically more convenient global method mesh_cast().
Example:
};
};
};
TriMesh_ArrayKernelT<TriTraits1> a;
TriMesh_ArrayKernelT<TriTraits2> &b = MeshCast<TriMesh_ArrayKernelT<TriTraits2>&, TriMesh_ArrayKernelT<TriTraits1>&>::cast(a);
TriMesh_ArrayKernelT<TriTraits3> &c = MeshCast<TriMesh_ArrayKernelT<TriTraits3>&, TriMesh_ArrayKernelT<TriTraits1>&>::cast(a);
VectorT< float, 3 > Vec3f
3-float vector
Definition: Vector11T.hh:851
Definition: Vector11T.hh:83
Base class for all traits.
Definition: Traits.hh:122
- See also
- mesh_cast()
- Parameters
-
- Returns