mirror of https://github.com/CGAL/cgal
Made example work with new Kernel design
This commit is contained in:
parent
405a847ead
commit
f5f4760b7c
|
|
@ -30,20 +30,15 @@ public:
|
||||||
bool operator==(const MySegmentC2 &s) const;
|
bool operator==(const MySegmentC2 &s) const;
|
||||||
bool operator!=(const MySegmentC2 &s) const;
|
bool operator!=(const MySegmentC2 &s) const;
|
||||||
|
|
||||||
Point_2 & source()
|
|
||||||
{
|
|
||||||
return sp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
const Point_2 & source() const
|
const Point_2 & source() const
|
||||||
{
|
{
|
||||||
return sp_;
|
return sp_;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Point_2 & target() const
|
const Point_2 & target() const
|
||||||
{
|
{
|
||||||
return tp_;
|
return tp_;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Point_2 & start() const;
|
const Point_2 & start() const;
|
||||||
const Point_2 & end() const;
|
const Point_2 & end() const;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue