def get_sampleV(self, res, DV=None, resMode='abs', ind=None, Out='(X,Y,Z)'):
        """ Sample, with resolution res, the volume defined by DV or ind """

        args = [self.Poly, self.dgeom['P1Min'][0], self.dgeom['P1Max'][0],
                self.dgeom['P2Min'][1], self.dgeom['P2Max'][1], res]
        kwdargs = dict(DV=DV, dVMode=resMode, ind=ind, VType=self.Id.Type,
                      VLim=self.Lim, Out=Out, margin=1.e-9)
        pts, dV, ind, reseff = _comp._Ves_get_sampleV(*args, **kwdargs)
        return pts, dV, ind, reseff
def get_sampleV ( self , res , DV = None , resMode = 'abs' , ind = None , Out = '(X,Y,Z)' ) : args = [ self . Poly , self . dgeom [ 'P1Min' ] [ 0 ] , self . dgeom [ 'P1Max' ] [ 0 ] , self . dgeom [ 'P2Min' ] [ 1 ] , self . dgeom [ 'P2Max' ] [ 1 ] , res ] kwdargs = dict ( DV = DV , dVMode = resMode , ind = ind , VType = self . Id . Type , VLim = self . Lim , Out = Out , margin = 1.e-9 ) pts , dV , ind , reseff = _comp . _Ves_get_sampleV ( * args , ** kwdargs ) return pts , dV , ind , reseff
Sample, with resolution res, the volume defined by DV or ind