Home | History | Annotate | Download | only in Imath

Lines Matching full:sphere

109 // Spheres: To test a sphere, test the center against each plane
111 // sphere's radius. (the result is NOT exact, but will not return
150 bool isVisible(const Sphere3<T> &sphere) const;
157 bool completelyContains(const Sphere3<T> &sphere) const;
233 // isVisible(Sphere)
234 // Returns true if any part of the sphere is inside
239 bool FrustumTest<T>::isVisible(const Sphere3<T> &sphere) const
241 Vec3<T> center = sphere.center;
242 Vec3<T> radiusVec = Vec3<T>(sphere.radius, sphere.radius, sphere.radius);
267 // completelyContains(Sphere)
268 // Returns true if every part of the sphere is inside
273 bool FrustumTest<T>::completelyContains(const Sphere3<T> &sphere) const
275 Vec3<T> center = sphere.center;
276 Vec3<T> radiusVec = Vec3<T>(sphere.radius, sphere.radius, sphere.radius);