solvespace/sketch.h
Jonathan Westhues 19c6be530f Bits and pieces of SolveSpace; zoom works now, and some stuff to
draw planes that I will use to do the datum planes. Still haven't
settled upon the request/entity/group structure, and that's the
dependency before doing much real.

[git-p4: depot-paths = "//depot/solvespace/": change = 1656]
2008-04-01 02:48:44 -08:00

73 lines
940 B
C++

#ifndef __SKETCH_H
#define __SKETCH_H
class hEntity;
class hPoint;
class hRequest;
class hParam;
class hGroup;
class hRequest {
public:
int v;
hEntity entity(int i);
};
class Request {
public:
static const hRequest HREQUEST_DATUM_PLANE_XY,
HREQUEST_DATUM_PLANE_YZ,
HREQUEST_DATUM_PLANE_ZX;
static const int FOR_PLANE = 0;
int type;
hRequest h;
};
class hEntity {
public:
int v;
hRequest request(int i);
hPoint point(int i);
};
class Entity {
public:
static const int ENTITY_PLANE = 0;
int type;
hEntity h;
void Draw(void);
};
class hPoint {
public:
int v;
};
class Point {
public:
hPoint h;
};
class hParam {
public:
int v;
};
class Param {
public:
double val;
hParam h;
};
#endif