61 |
*/ |
*/ |
62 |
virtual void vertex(const ZPt &p) const = 0; |
virtual void vertex(const ZPt &p) const = 0; |
63 |
|
|
64 |
|
/** Whether the transformation is nonlinear. |
65 |
|
*/ |
66 |
|
virtual bool isNonlinear() const = 0; |
67 |
|
|
68 |
/** How nonlinear is the coordinate system at the given point. |
/** How nonlinear is the coordinate system at the given point. |
69 |
* The return value is 1/l where l would be a reasonable length |
* The return value is 1/l where l would be a reasonable length |
70 |
* for dicing. |
* for dicing. |
134 |
virtual bool performGL() const { |
virtual bool performGL() const { |
135 |
return true; |
return true; |
136 |
} |
} |
137 |
|
virtual bool isNonlinear() const { |
138 |
|
return false; |
139 |
|
} |
140 |
virtual float nonlinearity(const ZPt &p, float radius) const { |
virtual float nonlinearity(const ZPt &p, float radius) const { |
141 |
return 0; |
return 0; |
142 |
} |
} |