1 #ifndef LWPP_MESHINFO_H
2 #define LWPP_MESHINFO_H
10 class MeshPolygonScan;
45 size_t scanPoints(LWPntScanFunc *func,
void *userData)
const {
return mesh->scanPoints(
mesh, func, userData);}
46 size_t scanPolys(LWPolScanFunc *func,
void *userData)
const {
return mesh->scanPolys(
mesh, func, userData);}
52 pos[0] = (double)tPos[0];
53 pos[1] = (double)tPos[1];
54 pos[2] = (double)tPos[2];
59 bool pntVGet(LWPntID pnt,
float *vector)
const {
return (
mesh->pntVGet(
mesh, pnt, vector) != 0);}
63 inline const char *
polTag(LWPolID
id, LWID tag)
const {
return mesh->polTag(
mesh,
id, tag);}
64 bool pntVPGet(LWPntID pnt, LWPolID pol,
float *vector)
const {
return (
mesh->pntVPGet(
mesh, pnt, pol, vector) != 0);}
66 int pntVIDGet(LWPntID pnt,
float *vector,
void *vmap)
const {
return mesh->pntVIDGet(
mesh, pnt, vector, vmap);}
67 int pntVPIDGet(LWPntID pnt, LWPolID pol,
float *vector,
void *vmap)
const {
return mesh->pntVPIDGet(
mesh, pnt, pol, vector, vmap);}
94 virtual int scanFunc(LWPntID
id) = 0;
149 #endif //LWPP_MESHINFO_H