Lines Matching refs:Plane3
42 // template class Plane3
44 // The Imath::Plane3<> class represents a half space, so the
46 // plane P can be represented by Imath::Plane3 as either p or -p
62 class Plane3
69 Plane3() {}
70 Plane3(const Vec3<T> &normal, T distance);
71 Plane3(const Vec3<T> &point, const Vec3<T> &normal);
72 Plane3(const Vec3<T> &point1,
111 typedef Plane3<float> Plane3f;
112 typedef Plane3<double> Plane3d;
120 inline Plane3<T>::Plane3(const Vec3<T> &p0,
128 inline Plane3<T>::Plane3(const Vec3<T> &n, T d)
134 inline Plane3<T>::Plane3(const Vec3<T> &p, const Vec3<T> &n)
140 inline void Plane3<T>::set(const Vec3<T>& point1,
150 inline void Plane3<T>::set(const Vec3<T>& point, const Vec3<T>& n)
158 inline void Plane3<T>::set(const Vec3<T>& n, T d)
166 inline T Plane3<T>::distanceTo(const Vec3<T> &point) const
172 inline Vec3<T> Plane3<T>::reflectPoint(const Vec3<T> &point) const
179 inline Vec3<T> Plane3<T>::reflectVector(const Vec3<T> &v) const
186 inline bool Plane3<T>::intersect(const Line3<T>& line, Vec3<T>& point) const
196 inline bool Plane3<T>::intersectT(const Line3<T>& line, T &t) const
205 std::ostream &operator<< (std::ostream &o, const Plane3<T> &plane)
212 Plane3<T> operator* (const Plane3<T> &plane, const Matrix44<T> &M)
242 return Plane3<T> ( point * M,
248 Plane3<T> operator- (const Plane3<T> &plane)
250 return Plane3<T>(-plane.normal,-plane.distance);