solvespace/srf/surface.h
Jonathan Westhues 995e9397a8 Tolerate files with \r characters in them; we would never write
such a file, but mailers might mangle them.

[git-p4: depot-paths = "//depot/solvespace/": change = 1891]
2009-01-10 00:18:54 -08:00

53 lines
715 B
C++

#ifndef __SURFACE_H
#define __SURFACE_H
class hSCurve;
class hSSurface;
class hSCurve {
public:
DWORD v;
};
class SCurve {
public:
hSCurve h;
SList<Vector> pts;
hSSurface srfA;
hSSurface srfB;
};
class STrimBy {
public:
hSCurve curve;
Vector start;
Vector finish;
Vector out; // a vector pointing out of the contour
};
class hSSurface {
public:
DWORD v;
};
class SSurface {
public:
hSSurface h;
Vector ctrl[4][4];
double weight[4];
SList<STrimBy> trim;
};
class SShell {
public:
IdList<SCurve,hSCurve> allCurves;
IdList<SSurface,hSSurface> surface;
};
#endif