MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Center

Method Center

TSConformal2D.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23// ==============================================
24
25RoundPoint2D 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

Callers

nothing calls this directly

Calls 1

RoundPoint2DClass · 0.85

Tested by

no test coverage detected