blob: fc55a741aa9f9ef658b8b1e1160fd96f7d6a9ec9 [file] [log] [blame]
caryclark@google.com27accef2012-01-25 18:57:23 +00001#include "DataTypes.h"
2
3bool implicitLine(const _Line& line, double& slope, double& axisIntercept);
4int reduceOrder(const _Line& line, _Line& reduced);
caryclark@google.com8dcf1142012-07-02 20:27:02 +00005
6double t_at(const _Line&, const _Point& );
7void xy_at_t(const _Line& , double t, double& x, double& y);
8
9enum x_at_flags {
10 kFindTopMin = 1,
11 kFindTopMax = 2,
12 kFindBottomMin = 4,
13 kFindBottomMax = 8
14};
15
16void x_at(const _Point& p1, const _Point& p2, double minY, double maxY,
17 int flags, double& tMin, double& tMax);
18