Back to index

salome-geom  6.5.0
GEOM_IBasicOperations_i.hh
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 #ifndef _GEOM_IBasicOperations_i_HeaderFile
00024 #define _GEOM_IBasicOperations_i_HeaderFile
00025 
00026 #include "GEOMImpl_Gen.hxx"
00027 
00028 #include <SALOMEconfig.h>
00029 
00030 #include CORBA_SERVER_HEADER(GEOM_Gen)
00031 #include "GEOM_IOperations_i.hh"
00032 #include "GEOM_Object_i.hh"
00033 
00034 #include "GEOMImpl_IBasicOperations.hxx"
00035 
00036 class GEOM_I_EXPORT GEOM_IBasicOperations_i :
00037     public virtual POA_GEOM::GEOM_IBasicOperations,
00038     public virtual GEOM_IOperations_i
00039 {
00040  public:
00041    GEOM_IBasicOperations_i (PortableServer::POA_ptr thePOA,
00042                          GEOM::GEOM_Gen_ptr theEngine,
00043                          ::GEOMImpl_IBasicOperations* theImpl);
00044    ~GEOM_IBasicOperations_i();
00045 
00046    GEOM::GEOM_Object_ptr MakePointXYZ (CORBA::Double theX,
00047                                    CORBA::Double theY,
00048                                    CORBA::Double theZ);
00049 
00050    GEOM::GEOM_Object_ptr MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
00051                                            CORBA::Double theX,
00052                                            CORBA::Double theY,
00053                                            CORBA::Double theZ);
00054 
00055    GEOM::GEOM_Object_ptr MakePointOnCurve (GEOM::GEOM_Object_ptr theCurve,
00056                                       CORBA::Double theParameter);
00057 
00058    GEOM::GEOM_Object_ptr MakePointOnCurveByLength (GEOM::GEOM_Object_ptr theCurve,
00059                                              CORBA::Double         theLength,
00060                                              GEOM::GEOM_Object_ptr theStartPoint);
00061 
00062    GEOM::GEOM_Object_ptr MakePointOnCurveByCoord (GEOM::GEOM_Object_ptr theCurve,
00063                                                   CORBA::Double theXParameter,
00064                                                   CORBA::Double theYParameter,
00065                                                   CORBA::Double theZParameter);
00066 
00067    GEOM::GEOM_Object_ptr MakePointOnSurface (GEOM::GEOM_Object_ptr theSurface,
00068                                         CORBA::Double theUParameter,
00069                                         CORBA::Double theVParameter);
00070 
00071    GEOM::GEOM_Object_ptr MakePointOnSurfaceByCoord (GEOM::GEOM_Object_ptr theSurface,
00072                                                     CORBA::Double theXParameter,
00073                                                     CORBA::Double theYParameter,
00074                                                     CORBA::Double theZParameter);
00075 
00076    GEOM::GEOM_Object_ptr MakePointOnLinesIntersection (GEOM::GEOM_Object_ptr theLine1,
00077                                                  GEOM::GEOM_Object_ptr theLine2);
00078 
00079    GEOM::GEOM_Object_ptr MakeTangentOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
00080                                         CORBA::Double theParameter);
00081 
00082    GEOM::GEOM_Object_ptr MakeVectorDXDYDZ (CORBA::Double theDX,
00083                                       CORBA::Double theDY,
00084                                       CORBA::Double theDZ);
00085 
00086    GEOM::GEOM_Object_ptr MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
00087                                       GEOM::GEOM_Object_ptr thePnt2);
00088 
00089    GEOM::GEOM_Object_ptr MakeLine (GEOM::GEOM_Object_ptr thePnt,
00090                                GEOM::GEOM_Object_ptr theDir);
00091 
00092    GEOM::GEOM_Object_ptr MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
00093                                     GEOM::GEOM_Object_ptr thePnt2);
00094 
00095    GEOM::GEOM_Object_ptr MakeLineTwoFaces (GEOM::GEOM_Object_ptr theFace1,
00096                                       GEOM::GEOM_Object_ptr theFace2);
00097 
00098    GEOM::GEOM_Object_ptr MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
00099                                        GEOM::GEOM_Object_ptr thePnt2,
00100                                        GEOM::GEOM_Object_ptr thePnt3,
00101                                        CORBA::Double theTrimSize);
00102 
00103    GEOM::GEOM_Object_ptr MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
00104                                      GEOM::GEOM_Object_ptr theVec,
00105                                      CORBA::Double theTrimSize);
00106 
00107    GEOM::GEOM_Object_ptr MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
00108                                    CORBA::Double theTrimSize);
00109                                    
00110    GEOM::GEOM_Object_ptr MakePlane2Vec (GEOM::GEOM_Object_ptr theVec1,
00111                                      GEOM::GEOM_Object_ptr theVec2,
00112                                      CORBA::Double theTrimSize);
00113                                      
00114    GEOM::GEOM_Object_ptr MakePlaneLCS (GEOM::GEOM_Object_ptr theLCS,
00115                                    CORBA::Double theTrimSize,
00116                                    CORBA::Double theOrientation );
00117 
00118    GEOM::GEOM_Object_ptr MakeMarker (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
00119                                  CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
00120                                  CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ);
00121 
00122    GEOM::GEOM_Object_ptr MakeMarkerFromShape (GEOM::GEOM_Object_ptr theShape);
00123    
00124    GEOM::GEOM_Object_ptr MakeMarkerPntTwoVec (GEOM::GEOM_Object_ptr theOrigin, GEOM::GEOM_Object_ptr theXVec, GEOM::GEOM_Object_ptr theYVec);
00125 
00126    GEOM::GEOM_Object_ptr MakeTangentPlaneOnFace (GEOM::GEOM_Object_ptr theFace, 
00127                                            CORBA::Double theParameterU,
00128                                            CORBA::Double theParameterV,
00129                                            CORBA::Double theTrimSize);
00130 
00131    ::GEOMImpl_IBasicOperations* GetOperations() { return (::GEOMImpl_IBasicOperations*)GetImpl(); }
00132 };
00133 
00134 #endif