From 4028c52766262867b9ff543ec461dddd64e4df96 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 18 Nov 2010 12:38:24 +0000 Subject: [PATCH] Mantis issue 0021075: Problem with GetInplace. --- .../gui/GEOM/images/get_in_place_lost_part.png | Bin 0 -> 3357 bytes src/GEOM_SWIG/geompyDC.py | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 doc/salome/gui/GEOM/images/get_in_place_lost_part.png diff --git a/doc/salome/gui/GEOM/images/get_in_place_lost_part.png b/doc/salome/gui/GEOM/images/get_in_place_lost_part.png new file mode 100644 index 0000000000000000000000000000000000000000..2abc8432a284451e78b849eac996bd6aac7ea89c GIT binary patch literal 3357 zcmbVPc{rO{+ZS3xtx0A~=wfR$wX{TvRx3&p8r#HHN~?m1psk`)rnQu+ScgesY^70a zs77OHwbW1zQUpPC)KnFvYTqZkk9n{6kN3O2f4=XJ=YHJ9O_T@R&oba z4v2|~$z8C~GL zu@qx|7A`)19IWW@{~DUVyaLkaWL;kmjS|jnmyTFj=)#Gb$BGOM4GiOIH$Fk_scvJZ z_@@IF=ktHlukAFaHViHb9!`xs3_aTTsV8(;!cpVI)2*k!wS3!HM>h_l%O?@w(s1Sc z7Sf>@Rvilgy_Y(aT$9B$-=}GPSws0=DmE1xVRO_{KkYFPJrROb z^3%H)i3#|aU@yASih&rKHUwaLOEChh->?CZGgY)h z>qGiRZn6*!m{yY1@Q-LH2*Uv4*nYsOzIIz%PuSU6ot#prZjAoH50X=t^sVXa;7;5h zc+{jhXPbt;b7y0-bvDLd%pM61o@;&kz_D}4ixvG_Y(g82%!@6fEq(kHC)r}qlOJrA zK;|1&Yac-Hf0y8gBuJi>USL!KHM}-39TbE!9{I&>NjgaMb8_FyscJ~bW9CTHRpYvW zojX=e#Y%!GmyGN(hEhRQ^-!`X{Z_AuH#5kc`ACvkhve9_8WBu3oQ!t*J34Hg-wb)F z0(n_Cp=>f^MhnairyofTD7w3c&5wt7HhUFW1-OiABcU!RJ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L$z~CEOb@vY9UP64bl zw4eFknQJt{R@cqvE#G?OGhF?lfgHK8&CB)SccTd-Is|Z$UD)4q_1L@qWp4S4j4vT$ zqW!;)sf|H$@~BB{vSpm7w6t9Kq=z1W43-Obi9fgyWbDb*z~vrXI3OH;>OX7-{&6_? z2wlCJQ6Y(D1@~ayxP9-xpyQA2_We=_bjad)(vt~c#{~tT?(gl=m2UK{36Bx?uceF!m;$}WQ? zLk@aJXqYFjx&k@qO;_T@!(PeT01Y^v>RQfkweKf(7=SHv`&W$q45(!qM4>QqG$0xK7vJ6%9pUE#r8&UuC?O)!5_a-u;J_yC5Fe<1= z%a9)o?kTN!X{a@;11IC&L;`{U*5n4$_Uvtv+TdRY-GKEzZ|_4dO9Vegc~WEIaeMo> zMwty%u9kfs$V>|9?#P^SSnnzLw!RDcOT`8sw%+A*+>g?`(vu2IhR9s>cZ$jB?!~02 z#f7X>W6mlu$n_4KnU*$vrSlEl^G8ezws{tX$^OhNboZ-(2oGDF;`EY0=%syVzkVHj z8*_5kNC_19;w2^;Q6D{XE3m^A9KWDz_CJ2gPw4QMOSgwqz5GAO`tDAu%cRT0THhG* z-$h?1?R1KAABg3JxKqDHMMR1gYk5to*2cyPpo$l_!(H*upKs1)Uzk!YP?e8*1)Ssg zn)UH{xLs4xqfwio#YLd@u*I}mSrBVE f^8a>inBQgeG`7L?!Q;SvN9+RD9`nTF>b-vfmj@u< literal 0 HcmV?d00001 diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 86ebc2a67..afe0785c5 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -1995,8 +1995,14 @@ class geompyDC(GEOM._objref_GEOM_Gen): # @param theShapeWhat Shape, specifying what to find. # @return Group of all found sub-shapes or a single found sub-shape. # + # @note This function has a restriction on argument shapes. + # If \a theShapeWhere has curved parts with significantly + # outstanding centres (i.e. the mass centre of a part is closer to + # \a theShapeWhat than to the part), such parts will not be found. + # @image html get_in_place_lost_part.png + # # @ref swig_GetInPlace "Example" - def GetInPlace(self,theShapeWhere, theShapeWhat): + def GetInPlace(self, theShapeWhere, theShapeWhat): # Example: see GEOM_TestOthers.py anObj = self.ShapesOp.GetInPlace(theShapeWhere, theShapeWhat) RaiseIfFailed("GetInPlace", self.ShapesOp) -- 2.39.2