LibreCAD
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
point.cpp
Go to the documentation of this file.
1
#include "
point.h
"
2
#include <
cad/primitive/point.h
>
3
4
using namespace
lc
;
5
using namespace
builder;
6
7
PointBuilder::~PointBuilder
() {
8
9
}
10
11
const
geo::Coordinate
&
PointBuilder::coordinate
()
const
{
12
return
_coordinate
;
13
}
14
15
PointBuilder
*
PointBuilder::setCoordinate
(
const
geo::Coordinate
& coordinate) {
16
_coordinate
=
coordinate
;
17
18
return
this
;
19
}
20
21
entity::Point_CSPtr
PointBuilder::build
() {
22
return
entity::Point_CSPtr(
new
entity::Point
(*
this
));
23
}
point.h
lc::builder::PointBuilder::_coordinate
lc::geo::Coordinate _coordinate
Definition:
point.h:17
lc::builder::PointBuilder::coordinate
const geo::Coordinate & coordinate() const
Definition:
point.cpp:11
point.h
lc
Definition:
cadentity.h:12
lc::builder::PointBuilder::setCoordinate
PointBuilder * setCoordinate(const geo::Coordinate &coordinate)
Definition:
point.cpp:15
lc::builder::PointBuilder::build
entity::Point_CSPtr build()
Definition:
point.cpp:21
lc::geo::Coordinate
Definition:
geocoordinate.h:12
lc::builder::PointBuilder
Definition:
point.h:7
lc::builder::PointBuilder::~PointBuilder
virtual ~PointBuilder()
Definition:
point.cpp:7
lc::entity::Point
Definition:
point.h:17
lckernel
cad
builders
point.cpp
Generated on Mon Jun 18 2018 14:02:07 for LibreCAD by
1.8.8