OpenLexocad
27.1
Sphr.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include <
Geom/Pnt.h
>
5
6
namespace
Geom
7
{
9
class
LX_GEOM_EXPORT
Sphr
10
{
11
public
:
12
Sphr
(
void
);
13
Sphr
(
const
Geom::Pnt
& center,
const
double
& radius);
14
void
setValue(
const
Geom::Pnt
& center,
const
double
& radius);
15
void
setCenter(
const
Geom::Pnt
& center);
16
void
setRadius(
const
double
& radius);
17
const
Geom::Pnt
& getCenter(
void
)
const
;
18
const
double
& getRadius(
void
)
const
;
19
20
bool
pointInside(
const
Geom::Pnt
& p)
const
;
21
22
private
:
23
Geom::Pnt
_center;
24
double
_radius;
25
};
26
27
}
// namespace Geom
Pnt.h
Geom
Definition:
Variant.h:60
Geom::Pnt
Defines a non-persistent 3D Cartesian point.
Definition:
Pnt.h:43
Geom::Sphr
Defines a non-persistent Sphere in 3D space.
Definition:
Sphr.h:9
lexocad
Geom
include
Geom
Sphr.h
Generated by
1.8.15