/* * Project Info: http://jcae.sourceforge.net * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. * * * @author Jens Schmidt * */ %{#include %} class GC_Root { %rename(isDone) IsDone; public: Standard_Boolean IsDone() const; }; %{#include %} class GC_MakeArcOfCircle : public GC_Root { // inheritance by VTT %rename(value) Value; // by VTT public: GC_MakeArcOfCircle(const gp_Pnt& P1,const gp_Pnt& P2,const gp_Pnt& P3); GC_MakeArcOfCircle(const gp_Circ& Circ,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Boolean Sense); const Handle_Geom_TrimmedCurve& Value() const; // by VTT GC_MakeArcOfCircle(const gp_Circ& Circ,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Boolean Sense); GC_MakeArcOfCircle(const gp_Circ& Circ,const gp_Pnt& P,const Standard_Real Alpha,const Standard_Boolean Sense); }; /******************************************************************* * * * VTT * * * *******************************************************************/ %{#include %} class GC_MakeSegment : public GC_Root { %rename(value) Value; //%rename(operator) Operator; public : GC_MakeSegment(const gp_Pnt& P1,const gp_Pnt& P2); GC_MakeSegment(const gp_Lin& Line,const Standard_Real U1,const Standard_Real U2); GC_MakeSegment(const gp_Lin& Line,const gp_Pnt& Point,const Standard_Real Ulast); GC_MakeSegment(const gp_Lin& Line,const gp_Pnt& P1,const gp_Pnt& P2); const Handle_Geom_TrimmedCurve& Value() const; //const Handle_Geom_TrimmedCurve& Operator() const; }; %{#include %} class GC_MakeArcOfEllipse : public GC_Root { %rename(value) Value; // by VTT public: GC_MakeArcOfEllipse(const gp_Elips& Elips,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Boolean Sense); GC_MakeArcOfEllipse(const gp_Elips& Elips,const gp_Pnt& P,const Standard_Real Alpha,const Standard_Boolean Sense); GC_MakeArcOfEllipse(const gp_Elips& Elips,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Boolean Sense); const Handle_Geom_TrimmedCurve& Value() const; // by VTT };