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

Method Wedge

TSConformal3D.cpp:132–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130// ==============================================
131
132Dipole3D Terathon::Wedge(const RoundPoint3D& a, const RoundPoint3D& b)
133{
134 return (Dipole3D(a.w * b.x - a.x * b.w,
135 a.w * b.y - a.y * b.w,
136 a.w * b.z - a.z * b.w,
137
138 a.y * b.z - a.z * b.y,
139 a.z * b.x - a.x * b.z,
140 a.x * b.y - a.y * b.x,
141
142 a.x * b.u - a.u * b.x,
143 a.y * b.u - a.u * b.y,
144 a.z * b.u - a.u * b.z,
145 a.w * b.u - a.u * b.w));
146}
147
148Line3D Terathon::Wedge(const FlatPoint3D& p, const RoundPoint3D& a)
149{

Callers

nothing calls this directly

Calls 5

Dipole3DClass · 0.85
Line3DClass · 0.85
Circle3DClass · 0.85
Plane3DClass · 0.85
Sphere3DClass · 0.85

Tested by

no test coverage detected