PAL 12719 : Add an Arc constructor

This commit is contained in:
nge 2007-02-23 13:50:22 +00:00
parent 47e6e80618
commit 0e77f926bc
5 changed files with 55 additions and 0 deletions

View File

@ -45,6 +45,7 @@ GEOMDS_Resources \
ImportExport \
ShHealing \
arc.png \
arccenter.png \
archimede.png \
axisinertia.png \
basicproperties.png \

View 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.

View 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) ;

View File

@ -3857,6 +3857,42 @@
<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>

BIN
resources/arccenter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B