Sphere

Imath.Sphere3f

class Imath.Sphere3f
V3f center
float radius
Sphere3f() → Sphere3f
Sphere3f(Sphere3f o) → Sphere3f
Sphere3f(V3f c, float r) → Sphere3f
Sphere3f(float x, float y, float z, float r) → Sphere3f
Sphere3f(table[3] c, float r) → Sphere3f
Sphere3f(table[4] t) → Sphere3f
operator==(Sphere3f o) const → boolean
operator!=(Sphere3f o) const → boolean
operator[](int idx) const → float
operator[](int idx, float value)
circumscribe(Box3f box)
intersect(Line3f l, V3f& intersection) const → boolean
intersect(Line3f l) const → boolean, V3f
intersectT(Line3f l) const → boolean, float
toTable() const → table[4]

Imath.Sphere3d

class Imath.Sphere3d
V3d center
double radius
Sphere3d() → Sphere3d
Sphere3d(Sphere3d o) → Sphere3d
Sphere3d(V3d c, double r) → Sphere3d
Sphere3d(double x, double y, double z, double r) → Sphere3d
Sphere3d(table[3] c, double r) → Sphere3d
Sphere3d(table[4] t) → Sphere3d
operator==(Sphere3d o) const → boolean
operator!=(Sphere3d o) const → boolean
operator[](int idx) const → double
operator[](int idx, double value)
circumscribe(Box3d box)
intersect(Line3d l, V3d& intersection) const → boolean
intersect(Line3d l) const → boolean, V3f
intersectT(Line3d l) const → boolean, double
toTable() const → table[4]