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

Method FlatCenter

TSConformal2D.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35// ==============================================
36
37FlatPoint2D Terathon::FlatCenter(const Dipole2D& d)
38{
39 return (FlatPoint2D(-d.g.x * d.g.z - d.g.y * d.p.z,
40 d.g.x * d.p.z - d.g.y * d.g.z,
41 d.g.x * d.g.x + d.g.y * d.g.y));
42}
43
44// ==============================================
45// Container

Callers

nothing calls this directly

Calls 1

FlatPoint2DClass · 0.85

Tested by

no test coverage detected