bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class FilterFacePointsDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalpoints: Point3[]
      • Optionaltolerance: number
      • OptionaluseBndBox: boolean
      • OptionalgapTolerance: number
      • OptionalkeepIn: boolean
      • OptionalkeepOn: boolean
      • OptionalkeepOut: boolean
      • OptionalkeepUnknown: boolean

      Returns FilterFacePointsDto<T>

    Properties

    shape: T

    Face that will be used to filter points

    undefined
    
    points: Point3[]

    Points to filter

    undefined
    
    tolerance: number

    Tolerance used for filter

    1.0e-4
    

    0

    Infinity

    0.000001

    useBndBox: boolean

    If true, the bounding box will be used to prefilter the points so that there are less points to check on actual face. Recommended to enable if face has more than 10 edges and geometry is mostly spline. This might be faster, but if it is known that points are withing bounding box, this may not be faster.

    false
    
    gapTolerance: number

    Gap tolerance

    0.1
    

    0

    Infinity

    0.01

    keepIn: boolean

    Return points that are inside the face

    true
    
    keepOn: boolean

    Return points that are on the border of the face

    true
    
    keepOut: boolean

    Return points that are outside the borders of the face

    false
    
    keepUnknown: boolean

    Return points that are classified as unknown

    false