Salome HOME
0021825: Error in the example of "Projection Algorithms" in the user's guide
authoreap <eap@opencascade.com>
Fri, 31 Aug 2012 12:01:15 +0000 (12:01 +0000)
committereap <eap@opencascade.com>
Fri, 31 Aug 2012 12:01:15 +0000 (12:01 +0000)
  fix order of SetVertexAssociation() calls

resources/StdMeshers.xml

index 979fa7fc5783d9752819f19c7f4fc71382e64569..b82d6a441b1a8bd4090379e523cffc169da03044 100644 (file)
                dim="2">
       <python-wrap>
         <algo>Projection_2D=Projection2D()</algo>
-        <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
+        <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
       </python-wrap>
     </algorithm>
 
                dim="3">
       <python-wrap>
         <algo>Projection_3D=Projection3D()</algo>
-        <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
+        <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
       </python-wrap>
     </algorithm>