MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator/

Method operator/

code/geometry/primitives3d.cpp:17–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 point3d operator*(double k) const {
16 return point3d(x * k, y * k, z * k); }
17 point3d operator/(double k) const {
18 return point3d(x / k, y / k, z / k); }
19 double operator%(P(p)) const {
20 return x * p.x + y * p.y + z * p.z; }
21 point3d operator*(P(p)) const {

Callers

nothing calls this directly

Calls 1

point3dClass · 0.85

Tested by

no test coverage detected