# encoding: utf-8
# module vtkmodules.vtkCommonDataModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonDataModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonMath as __vtkmodules_vtkCommonMath
import vtkmodules.vtkCommonTransforms as __vtkmodules_vtkCommonTransforms


from .vtkLocator import vtkLocator

class vtkAbstractPointLocator(vtkLocator):
    """
    vtkAbstractPointLocator - abstract class to quickly locate points in
    3-space
    
    Superclass: vtkLocator
    
    vtkAbstractPointLocator is an abstract spatial search object to
    quickly locate points in 3D. vtkAbstractPointLocator works by
    dividing a specified region of space into "rectangular" buckets, and
    then keeping a list of points that lie in each bucket. Typical
    operation involves giving a position in 3D and finding the closest
    point.  The points are provided from the specified dataset input.
    
    @sa
    vtkPointLocator vtkStaticPointLocator vtkMergePoints
    """
    def FindClosestNPoints(self, N, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestNPoints(self, N:int, x:(float, float, float),
            result:vtkIdList) -> None
        C++: virtual void FindClosestNPoints(int N, const double x[3],
            vtkIdList *result)
        FindClosestNPoints(self, N:int, x:float, y:float, z:float,
            result:vtkIdList) -> None
        C++: void FindClosestNPoints(int N, double x, double y, double z,
            vtkIdList *result)
        
        Find the closest N points to a position. This returns the closest
        N points to a position. A faster method could be created that
        returned N close points to a position, but necessarily the exact
        N closest. The returned points are sorted from closest to
        farthest. These methods are thread safe if BuildLocator() is
        directly or indirectly called from a single thread first.
        """
        pass

    def FindClosestPoint(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPoint(self, x:(float, float, float)) -> int
        C++: virtual vtkIdType FindClosestPoint(const double x[3])
        FindClosestPoint(self, x:float, y:float, z:float) -> int
        C++: vtkIdType FindClosestPoint(double x, double y, double z)
        
        Given a position x, return the id of the point closest to it.
        Alternative method requires separate x-y-z values. These methods
        are thread safe if BuildLocator() is directly or indirectly
        called from a single thread first.
        """
        pass

    def FindClosestPointWithinRadius(self, radius, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPointWithinRadius(self, radius:float, x:(float, float,
            float), dist2:float) -> int
        C++: virtual vtkIdType FindClosestPointWithinRadius(double radius,
             const double x[3], double &dist2)
        
        Given a position x and a radius r, return the id of the point
        closest to the point in that radius. dist2 returns the squared
        distance to the point.
        """
        pass

    def FindPointsWithinRadius(self, R, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindPointsWithinRadius(self, R:float, x:(float, float, float),
            result:vtkIdList) -> None
        C++: virtual void FindPointsWithinRadius(double R,
            const double x[3], vtkIdList *result)
        FindPointsWithinRadius(self, R:float, x:float, y:float, z:float,
            result:vtkIdList) -> None
        C++: void FindPointsWithinRadius(double R, double x, double y,
            double z, vtkIdList *result)
        
        Find all points within a specified radius R of position x. The
        result is not sorted in any specific manner. These methods are
        thread safe if BuildLocator() is directly or indirectly called
        from a single thread first.
        """
        pass

    def GetBounds(self): # real signature unknown; restored from __doc__
        """
        GetBounds(self) -> Pointer
        C++: virtual double *GetBounds()
        GetBounds(self, __a:[float, ...]) -> None
        C++: virtual void GetBounds(double *)
        
        Provide an accessor to the bounds. Valid after the locator is
        built.
        """
        pass

    def GetNumberOfBuckets(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfBuckets(self) -> int
        C++: virtual vtkIdType GetNumberOfBuckets()
        
        Return the total number of buckets in the locator. This has
        meaning only after the locator is constructed.
        """
        return 0

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Return 1 if this class is the same type of (or a subclass of) the
        named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Return 1 if this class type is the same type of (or a subclass
        of) the named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkAbstractPointLocator
        C++: vtkAbstractPointLocator *NewInstance()
        """
        return vtkAbstractPointLocator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAbstractPointLocator
        C++: static vtkAbstractPointLocator *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkAbstractPointLocator

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is 'mappingproxy({\'__vtkname__\': \'vtkAbstractPointLocator\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'FindClosestPoint\': <method \'FindClosestPoint\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'FindClosestPointWithinRadius\': <method \'FindClosestPointWithinRadius\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'FindClosestNPoints\': <method \'FindClosestNPoints\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'FindPointsWithinRadius\': <method \'FindPointsWithinRadius\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'GetBounds\': <method \'GetBounds\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'GetNumberOfBuckets\': <method \'GetNumberOfBuckets\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D60C810>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkAbstractPointLocator\' objects>, \'__doc__\': \'vtkAbstractPointLocator - abstract class to quickly locate points in\\n3-space\\n\\nSuperclass: vtkLocator\\n\\nvtkAbstractPointLocator is an abstract spatial search object to\\nquickly locate points in 3D. vtkAbstractPointLocator works by\\ndividing a specified region of space into "rectangular" buckets, and\\nthen keeping a list of points that lie in each bucket. Typical\\noperation involves giving a position in 3D and finding the closest\\npoint.  The points are provided from the specified dataset input.\\n\\n@sa\\nvtkPointLocator vtkStaticPointLocator vtkMergePoints\\n\\n\'})'
    __vtkname__ = 'vtkAbstractPointLocator'


