3D Sphere
All points at distance “r” from point “(cx, cy, cz)”
- Implicit representation:
- (x - cx)2 + (y - cy)2 + (z - cz)2 = r 2
- Parametric representation:
- x = r cos(?) cos(?)
- y = r cos(?) sin(?)
- z = r sin(?)
typedef struct {
Point center;
Distance radius;
} Sphere;