// ====================================================================== // // Copyright (c) 1999 The CGAL Consortium // // This software and related documentation is part of an INTERNAL release // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // // ---------------------------------------------------------------------- // // release : // release_date : // // file : RepH3.h // package : H3 // revision : $Revision$ // revision_date : $Date$ // author(s) : Stefan Schirra // // // coordinator : MPI, Saarbruecken () // ====================================================================== #ifndef CGAL_REPH3_H #define CGAL_REPH3_H CGAL_BEGIN_NAMESPACE template class RepH3 : public Ref_counted { public: NT e0, e1, e2, e3; RepH3() {} RepH3(const NT& a0, const NT& a1, const NT& a2, const NT& a3) : e0(a0), e1(a1), e2(a2), e3(a3) {} const NT & hx() const { return e0; } const NT & hy() const { return e1; } const NT & hz() const { return e2; } const NT & hw() const { return e3; } // homogenizing component }; template class Simple_RepH3 { public: NT e0, e1, e2, e3; Simple_RepH3() {} Simple_RepH3(const NT& a0, const NT& a1, const NT& a2, const NT& a3) : e0(a0), e1(a1), e2(a2), e3(a3) {} const NT & hx() const { return e0; } const NT & hy() const { return e1; } const NT & hz() const { return e2; } const NT & hw() const { return e3; } // homogenizing component }; CGAL_END_NAMESPACE #endif // CGAL_REPH3_H