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

Method Center

TSConformal3D.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24// ==============================================
25
26RoundPoint3D Terathon::Center(const Dipole3D& d)
27{
28 return (RoundPoint3D(d.v.y * d.m.z - d.v.z * d.m.y + d.v.x * d.p.w,
29 d.v.z * d.m.x - d.v.x * d.m.z + d.v.y * d.p.w,
30 d.v.x * d.m.y - d.v.y * d.m.x + d.v.z * d.p.w,
31 d.v.x * d.v.x + d.v.y * d.v.y + d.v.z * d.v.z,
32 d.p.w * d.p.w - d.v.x * d.p.x - d.v.y * d.p.y - d.v.z * d.p.z));
33}
34
35RoundPoint3D Terathon::Center(const Circle3D& c)
36{

Callers

nothing calls this directly

Calls 1

RoundPoint3DClass · 0.85

Tested by

no test coverage detected