# Plane_3D

template<typename F>
class HPS::Plane_3D

Public Functions

inline HPS_INLINE bool Equals (Plane_3D const &p, int in_tolerance=32) const
inline bool equivalent(Plane_3D const &p) const
inline Point_3D<F> IntersectLineSegment(Point_3D<F> const &p1, Point_3D<F> const &p2, float eps = 1e-5f) const
inline Point_3D<F> IntersectLineSegment2(Point_3D<F> const &p1, Point_3D<F> const &p2) const
inline Plane_3D &Normalize(F epsilon = Float_Traits<F>::Epsilon())
inline HPS_INLINE Plane_3D Normalized (F epsilon=Float_Traits< F >::Epsilon()) const
inline bool operator!=(Plane_3D const &p) const
inline Plane_3D const operator-() const
inline bool operator==(Plane_3D const &p) const
inline F &operator[](size_t i)
inline F const &operator[](size_t i) const
inline bool parallel(Plane_3D const &p) const
inline Plane_3D()
inline Plane_3D(F v1, F v2, F v3, F v4)
template<typename D>
inline explicit Plane_3D(Plane_3D<D> const &that)
inline Plane_3D(Point_3D<F> const &p, Vector_3D<F> const &v)
inline Plane_3D(size_t count, Point_3D<F> const *points)
inline Plane_3D(Vector_3D<F> const &v, F f = 0)
inline Plane_3D(Vector_3D<F> const &v, Point_3D<F> const &p)

Public Members

F a
F b
F c
F d

Public Static Functions

static inline HPS_INLINE Plane_3D Zero ()