From f5f4760b7cb4646e2489da9232db1d3ac3a7806d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 28 Mar 2006 13:39:28 +0000 Subject: [PATCH] Made example work with new Kernel design --- Kernel_23/examples/Kernel_23/MySegmentC2.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Kernel_23/examples/Kernel_23/MySegmentC2.h b/Kernel_23/examples/Kernel_23/MySegmentC2.h index 4b318137285..60962381da7 100644 --- a/Kernel_23/examples/Kernel_23/MySegmentC2.h +++ b/Kernel_23/examples/Kernel_23/MySegmentC2.h @@ -30,20 +30,15 @@ public: bool operator==(const MySegmentC2 &s) const; bool operator!=(const MySegmentC2 &s) const; - Point_2 & source() - { - return sp_; - } - const Point_2 & source() const { return sp_; } + const Point_2 & target() const { return tp_; } - const Point_2 & start() const; const Point_2 & end() const;