X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=moebius.hh;h=f3e04390277b214c1bbe68ea3dbb2dcd2b9f4ad3;hb=b698808d5c5ec2b0aeda95e04228639d61534555;hp=e834d3b4397b148b9fb6a6d0a9de8bbf63cdd98a;hpb=1ddaa7bdf04344661fa4d9339ee85f49cbbf3ad9;p=moebius.git diff --git a/moebius.hh b/moebius.hh index e834d3b..f3e0439 100644 --- a/moebius.hh +++ b/moebius.hh @@ -43,13 +43,22 @@ public: Point middlepoint(double t, double u); }; -class MoebiusEnfoldment : public Moebius { +class MoebiusEnfoldmentAny : public Moebius { +public: + Point edgepoint(double t); +}; + +class MoebiusEnfoldment : public MoebiusEnfoldmentAny { double thickness; double bottomportion; public: MoebiusEnfoldment(double t=.35, double bp=.5) { thickness= t; bottomportion= bp; } - - Point edgepoint(double t); + Point middlepoint(double t, double u); +}; + +class MoebiusEnfoldmentNew : public MoebiusEnfoldmentAny { +public: + MoebiusEnfoldmentNew() { } Point middlepoint(double t, double u); };