Bitbybit Docs
    Preparing search index...

    Class FilterSolidPointsDto<T> (Inputs.OCCT)

    A solid, points and which groups to keep for shapes.solid.filterSolidPoints, which sorts each point as inside the solid, on its surface, outside it or unknown.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

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

      Returns FilterSolidPointsDto<T>

    Properties

    shape: T

    The solid to test the points against.

    undefined
    
    points: Point3[]

    The points to sort.

    undefined
    
    tolerance: number

    How close to the surface a point may be to count as on it, in model units.

    1.0e-4
    

    0

    Infinity

    0.000001

    keepIn: boolean

    When true, points inside the solid are kept.

    true
    
    keepOn: boolean

    When true, points on the surface of the solid are kept.

    true
    
    keepOut: boolean

    When true, points outside the solid are kept.

    false
    
    keepUnknown: boolean

    When true, points the kernel could not classify are kept.

    false