51 #ifndef CGAL_POINTS3_H
52 #define CGAL_POINTS3_H
80 :
e0(FT(0)),
e1(FT(0)),
e2(FT(0)) {}
83 PointS3(
const FT&
x,
const FT&
y,
const FT&
z,
const FT&
hw);
119 #include <CGAL/SimpleCartesian/VectorS3.h>
121 #include <CGAL/Bbox_3.h>
127 template <
class FT >
144 template <
class FT >
152 template <
class FT >
156 {
return (
x() == p.
x()) && (
y() == p.
y()) && (
z() == p.
z()); }
158 template <
class FT >
162 {
return !(*
this == p); }
165 template <
class FT >
172 template <
class FT >
179 template <
class FT >
186 template <
class FT >
193 template <
class FT >
199 return (i==0) ?
x() :
204 template <
class FT >
213 template <
class FT >
220 template <
class FT >
227 template <
class FT >
234 template <
class FT >
240 template <
class FT >
245 return (i<3) ? cartesian(i) : FT(1);
248 template <
class FT >
254 template <
class FT >
260 template <
class FT >
266 template <
class FT >
272 template <
class FT >
279 template <
class FT >
286 template <
class FT >
293 template <
class FT >
300 template <
class FT >
307 return Bbox_3(bx, by, bz, bx, by, bz);
311 #ifndef CGAL_NO_OSTREAM_INSERT_POINTS3
312 template <
class FT >
313 std::ostream& operator<<(std::ostream& os, const PointS3<FT>& p)
317 return os << p.x() <<
' ' << p.y() <<
' ' << p.z();
324 os <<
"PointS3(" << p.x() <<
", " << p.y() <<
", " << p.z() <<
")";
328 #endif // CGAL_NO_OSTREAM_INSERT_POINTS3
330 #ifndef CGAL_NO_ISTREAM_EXTRACT_POINTS3
331 template <
class FT >
353 #endif // CGAL_NO_ISTREAM_EXTRACT_POINTS3
358 #endif // CGAL_POINTS3_H
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed by
CGAL_BEGIN_NAMESPACE double to_double(double d)
void int int REAL REAL * y
#define CGAL_kernel_assertion_msg(EX, MSG)
bool operator!=(const PointS3< FT > &p) const
Iterator_from_circulator< C, Ref, Ptr > operator+(Dist n, const Iterator_from_circulator< C, Ref, Ptr > &circ)
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
FT homogeneous(int i) const
void int int int REAL REAL REAL * z
void write(std::ostream &os, const T &t, const io_Read_write &)
bool operator==(const PointS3< FT > &p) const
const FT & operator[](int i) const
void read(std::istream &is, T &t, const io_Read_write &)
#define CGAL_BEGIN_NAMESPACE
PointS3< FT > transform(const Aff_transformationS3< FT > &) const
PointS3(const FT &x, const FT &y, const FT &z)
const FT & cartesian(int i) const
#define CGAL_NULL_TMPL_ARGS
#define CGAL_kernel_precondition(EX)
#define CGAL_END_NAMESPACE
Point_2< R > operator-(const Origin &o, const Vector_2< R > &v)
#define CGAL_FRIEND_INLINE