Rocstar
1.0
Rocstar multiphysics simulation application
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Bbox_2.C
Go to the documentation of this file.
1
// ======================================================================
2
//
3
// Copyright (c) 1999 The CGAL Consortium
4
5
// This software and related documentation is part of the Computational
6
// Geometry Algorithms Library (CGAL).
7
// This software and documentation is provided "as-is" and without warranty
8
// of any kind. In no event shall the CGAL Consortium be liable for any
9
// damage of any kind.
10
//
11
// Every use of CGAL requires a license.
12
//
13
// Academic research and teaching license
14
// - For academic research and teaching purposes, permission to use and copy
15
// the software and its documentation is hereby granted free of charge,
16
// provided that it is not a component of a commercial product, and this
17
// notice appears in all copies of the software and related documentation.
18
//
19
// Commercial licenses
20
// - A commercial license is available through Algorithmic Solutions, who also
21
// markets LEDA (http://www.algorithmic-solutions.de).
22
// - Commercial users may apply for an evaluation license by writing to
23
// Algorithmic Solutions (contact@algorithmic-solutions.com).
24
//
25
// The CGAL Consortium consists of Utrecht University (The Netherlands),
26
// ETH Zurich (Switzerland), Free University of Berlin (Germany),
27
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
28
// (Germany), Max-Planck-Institute Saarbrucken (Germany), RISC Linz (Austria),
29
// and Tel-Aviv University (Israel).
30
//
31
// ----------------------------------------------------------------------
32
//
33
// release : CGAL-2.2
34
// release_date : 2000, September 30
35
//
36
// source : Bbox_2.fw
37
// file : src/Bbox_2.C
38
// package : _2 (3.6)
39
// revision : 3.6
40
// revision_date : 30 Jul 2000
41
// author(s) : Andreas Fabri
42
//
43
// coordinator : MPI, Saarbruecken (<Stefan.Schirra>)
44
// email : contact@cgal.org
45
// www : http://www.cgal.org
46
//
47
// ======================================================================
48
49
50
#ifndef CGAL_BBOX_2_H
51
#include <CGAL/Bbox_2.h>
52
#endif // CGAL_BBOX_2_H
53
54
CGAL_BEGIN_NAMESPACE
55
56
Bbox_2::Bbox_2
()
57
{
new
(
static_cast<
void
*
>
(ptr))
Fourtuple<double>
(); }
58
59
Bbox_2::Bbox_2
(
double
x_min,
double
y_min,
60
double
x_max,
double
y_max)
61
{
62
new
(
static_cast<
void
*
>
(ptr))
Fourtuple<double>
(x_min, y_min,
63
x_max, y_max);
64
}
65
66
bool
Bbox_2::operator==
(
const
Bbox_2
&b)
const
67
{
68
return
xmin
() == b.
xmin
() &&
xmax
() == b.
xmax
()
69
&&
ymin
() == b.
ymin
() &&
ymax
() == b.
ymax
();
70
}
71
72
bool
Bbox_2::operator!=
(
const
Bbox_2
&b)
const
73
{
74
return
! (b == *
this
);
75
}
76
77
CGAL_END_NAMESPACE
78
79
Bbox_2::ymin
double ymin() const
Definition:
CGAL/include/CGAL/Bbox_2.h:101
Bbox_2::xmax
double xmax() const
Definition:
CGAL/include/CGAL/Bbox_2.h:106
Bbox_2::xmin
double xmin() const
Definition:
CGAL/include/CGAL/Bbox_2.h:96
Bbox_2::Bbox_2
Bbox_2()
Definition:
Bbox_2.C:56
Bbox_2::operator==
bool operator==(const Bbox_2 &b) const
Definition:
Bbox_2.C:66
Fourtuple
Definition:
Fourtuple.h:75
Bbox_2::ymax
double ymax() const
Definition:
CGAL/include/CGAL/Bbox_2.h:111
Bbox_2
Definition:
CGAL/include/CGAL/Bbox_2.h:65
Bbox_2::operator!=
bool operator!=(const Bbox_2 &b) const
Definition:
Bbox_2.C:72
CGAL_BEGIN_NAMESPACE
#define CGAL_BEGIN_NAMESPACE
Definition:
kdtree_d.h:86
CGAL_END_NAMESPACE
#define CGAL_END_NAMESPACE
Definition:
kdtree_d.h:87
Rocface
CGAL
src
Bbox_2.C
Generated on Wed Nov 30 2016 16:56:02 for Rocstar by
1.8.5