Back to index

salome-geom  6.5.0
Functions
Decompose objects deprecated methods
Creating Advanced Geometrical Objects
Collaboration diagram for Decompose objects deprecated methods:

Functions

def geompyDC.geompyDC.SubShapeAllSorted
 Deprecated method It works like SubShapeAllSortedCentres(), but wrongly defines centres of faces, shells and solids.
def geompyDC.geompyDC.SubShapeAllSortedIDs
 Deprecated method It works like SubShapeAllSortedCentresIDs(), but wrongly defines centres of faces, shells and solids.
def geompyDC.geompyDC.SubShapeSorted
 Deprecated method It works like SubShapeSortedCentres(), but has a bug (wrongly defines centres of faces, shells and solids).

Function Documentation

def geompyDC.geompyDC.SubShapeAllSorted (   self,
  aShape,
  aType 
)

Deprecated method It works like SubShapeAllSortedCentres(), but wrongly defines centres of faces, shells and solids.

Deprecated method
It works like geompy.SubShapeAllSortedCentres, but wrongly
defines centres of faces, shells and solids.

Definition at line 4216 of file geompyDC.py.

04216 
04217         def SubShapeAllSorted(self, aShape, aType):
04218             """
04219             Deprecated method
04220             It works like geompy.SubShapeAllSortedCentres, but wrongly
04221             defines centres of faces, shells and solids.
04222             """
04223             ListObj = self.ShapesOp.MakeExplode(aShape, aType, True)
04224             RaiseIfFailed("MakeExplode", self.ShapesOp)
04225             return ListObj

Here is the call graph for this function:

def geompyDC.geompyDC.SubShapeAllSortedIDs (   self,
  aShape,
  aType 
)

Deprecated method It works like SubShapeAllSortedCentresIDs(), but wrongly defines centres of faces, shells and solids.

Deprecated method
It works like geompy.SubShapeAllSortedCentresIDs, but wrongly
defines centres of faces, shells and solids.

Definition at line 4229 of file geompyDC.py.

04229 
04230         def SubShapeAllSortedIDs(self, aShape, aType):
04231             """
04232             Deprecated method
04233             It works like geompy.SubShapeAllSortedCentresIDs, but wrongly
04234             defines centres of faces, shells and solids.
04235             """
04236             ListIDs = self.ShapesOp.SubShapeAllIDs(aShape, aType, True)
04237             RaiseIfFailed("SubShapeAllIDs", self.ShapesOp)
04238             return ListIDs

Here is the call graph for this function:

Here is the caller graph for this function:

def geompyDC.geompyDC.SubShapeSorted (   self,
  aShape,
  aType,
  ListOfInd 
)

Deprecated method It works like SubShapeSortedCentres(), but has a bug (wrongly defines centres of faces, shells and solids).

Deprecated method
It works like geompy.SubShapeSortedCentres, but has a bug
(wrongly defines centres of faces, shells and solids).

Definition at line 4242 of file geompyDC.py.

04242 
04243         def SubShapeSorted(self, aShape, aType, ListOfInd):
04244             """
04245             Deprecated method
04246             It works like geompy.SubShapeSortedCentres, but has a bug
04247             (wrongly defines centres of faces, shells and solids).
04248             """
04249             ListOfIDs = []
04250             AllShapeIDsList = self.SubShapeAllSortedIDs(aShape, aType)
04251             for ind in ListOfInd:
04252                 ListOfIDs.append(AllShapeIDsList[ind - 1])
04253             anObj = self.GetSubShape(aShape, ListOfIDs)
04254             return anObj

Here is the call graph for this function: