]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL 12719 : Add an Arc constructor
authornge <nge>
Fri, 23 Feb 2007 13:50:22 +0000 (13:50 +0000)
committernge <nge>
Fri, 23 Feb 2007 13:50:22 +0000 (13:50 +0000)
Makefile.in
idl/GEOM_Gen.idl
idl/GEOM_Superv.idl
resources/GEOMCatalog.xml.in
resources/arccenter.png [new file with mode: 0644]

index 03e147ef61d82ccb79c25b2cd3b6cd5426e6d9cc..aa1ebe0e42ce16eef22c24642cf3bbd17b4e005f 100644 (file)
@@ -45,6 +45,7 @@ GEOMDS_Resources \
 ImportExport \
 ShHealing \
 arc.png \
+arccenter.png \
 archimede.png \
 axisinertia.png \
 basicproperties.png \
index 92c21c70943db7ce0fd3089ca7903dc5273fa3dd..f08e2dead49b1d9d1543c24ba9f414cd19e6bd3d 100644 (file)
@@ -1750,6 +1750,20 @@ module GEOM
                         in GEOM_Object thePnt2,
                         in GEOM_Object thePnt3);
 
+    /*!
+     *  Create an arc of circle of center C from one point to another
+     *  \param theCenter Center point of the arc.
+     *  \param thePnt1 Start point of the arc.
+     *  \param thePnt2 End point of the arc.
+     *  \param theSense Orientation of the arc
+     *  \return New GEOM_Object, containing the created arc.
+     */
+    GEOM_Object MakeArcCenter (in GEOM_Object theCenter,
+                               in GEOM_Object thePnt1,
+                               in GEOM_Object thePnt2,
+                               in boolean theSense);
+
+
     /*!
      *  Create a polyline on the set of points.
      *  \param thePoints Sequence of points for the polyline.
index 7c67d282660abf95e4e8861d568bb61a6af6e6b0..75f67c8eb3b17af89eff3592f1fd40d8a74b5ced 100644 (file)
@@ -403,6 +403,10 @@ module GEOM
     GEOM_Object MakeArc (in GEOM_Object thePnt1,
                         in GEOM_Object thePnt2,
                         in GEOM_Object thePnt3) ;
+    GEOM_Object MakeArcCenter (in GEOM_Object theCenter,
+                               in GEOM_Object thePnt1,
+                               in GEOM_Object thePnt2,
+                               in boolean theSense) ;
     GEOM_Object MakePolyline (in GEOM_List thePoints) ;
     GEOM_Object MakeSplineBezier (in GEOM_List thePoints) ;
     GEOM_Object MakeSplineInterpolation (in GEOM_List thePoints) ;
index 131c35263d6b2313be3aa9257b8fc021ba50575d..4b05e9c22168fb8c52acfdaf8625effd357a7575 100644 (file)
                         <DataStream-list></DataStream-list>
                     </component-service>
                     <component-service>
+                        <service-name>MakeArcCenter</service-name>
+                        <service-author>ngr</service-author>
+                        <service-version>3.2.6</service-version>
+                        <service-comment>unknown</service-comment>
+                        <service-by-default>0</service-by-default>
+                        <inParameter-list>
+                            <inParameter>
+                                <inParameter-name>theCenter</inParameter-name>
+                                <inParameter-type>GEOM_Object</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                            <inParameter>
+                                <inParameter-name>thePnt1</inParameter-name>
+                                <inParameter-type>GEOM_Object</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                            <inParameter>
+                                <inParameter-name>thePnt2</inParameter-name>
+                                <inParameter-type>GEOM_Object</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                            <inParameter>
+                                <inParameter-name>theSense</inParameter-name>
+                                <inParameter-type>boolean</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                        </inParameter-list>
+                        <outParameter-list>
+                            <outParameter>
+                                <outParameter-name>return</outParameter-name>
+                                <outParameter-type>GEOM_Object</outParameter-type>
+                                <outParameter-comment>unknown</outParameter-comment>
+                            </outParameter>
+                        </outParameter-list>
+                        <DataStream-list></DataStream-list>
+                    </component-service>                    <component-service>
                         <service-name>MakePolyline</service-name>
                         <service-author>mkr</service-author>
                         <service-version>2.1.0</service-version>
diff --git a/resources/arccenter.png b/resources/arccenter.png
new file mode 100644 (file)
index 0000000..88ead9a
Binary files /dev/null and b/resources/arccenter.png differ