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

Method operator-

code/geometry/primitives3d.cpp:11–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 point3d operator+(P(p)) const {
10 return point3d(x + p.x, y + p.y, z + p.z); }
11 point3d operator-(P(p)) const {
12 return point3d(x - p.x, y - p.y, z - p.z); }
13 point3d operator-() const {
14 return point3d(-x, -y, -z); }
15 point3d operator*(double k) const {

Callers

nothing calls this directly

Calls 1

point3dClass · 0.85

Tested by

no test coverage detected