| 23 | // ============================================== |
| 24 | |
| 25 | RoundPoint2D Terathon::Center(const Dipole2D& d) |
| 26 | { |
| 27 | return (RoundPoint2D(-d.g.y * d.p.z - d.g.x * d.g.z, |
| 28 | d.g.x * d.p.z - d.g.y * d.g.z, |
| 29 | d.g.x * d.g.x + d.g.y * d.g.y, |
| 30 | d.p.z * d.p.z - d.g.x * d.p.y + d.g.y * d.p.x)); |
| 31 | } |
| 32 | |
| 33 | // ============================================== |
| 34 | // FlatCenter |
nothing calls this directly
no test coverage detected