politopix
5.0.0
Rn.cpp
Go to the documentation of this file.
1
// politopix allows to make computations on polytopes such as finding vertices, intersecting, Minkowski sums, ...
2
// Copyright (C) 2015 : Delos Vincent
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
//
19
// I2M (UMR CNRS 5295 / University of Bordeaux)
20
21
#include "
Rn.h
"
22
23
24
unsigned
int
Rn::_dimension
= 6;
25
double
Rn::_tolerance
= 1.e-06;
26
27
void
Rn::setDimension
(
unsigned
int
dim) {
_dimension
= dim;}
28
29
unsigned
int
Rn::getDimension
() {
return
_dimension
;}
30
31
double
Rn::getTolerance
() {
return
_tolerance
;}
32
33
void
Rn::setTolerance
(
double
t) {
_tolerance
= t;}
34
Rn::getDimension
static polito_EXPORT unsigned int getDimension()
Return the dimension of the cartesian space we work in.
Definition:
Rn.cpp:29
Rn.h
Rn::_tolerance
static double _tolerance
Rn dimension.
Definition:
Rn.h:48
Rn::_dimension
static unsigned int _dimension
Rn dimension.
Definition:
Rn.h:46
Rn::setTolerance
static polito_EXPORT void setTolerance(double t)
Give the minimum distance between two points.
Definition:
Rn.cpp:33
Rn::setDimension
static polito_EXPORT void setDimension(unsigned int dim)
Set the dimension for the cartesian space we work in.
Definition:
Rn.cpp:27
Rn::getTolerance
static polito_EXPORT double getTolerance()
Give the minimum distance between two points.
Definition:
Rn.cpp:31
trunk
Rn.cpp
Generated on Mon Jun 5 2023 15:39:32 for politopix by
1.8.17