Bitbybit Docs
    Preparing search index...

    Class FilterFacePointsDto<T> (Inputs.OCCT)

    用于 shapes.face.filterFacePoints 的面、点以及要保留的组,它将每个点分类为在面内、在面的边界上或在面外。

    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

    用来测试点的面。

    undefined
    
    points: Point3[]

    要分类的点。

    undefined
    
    tolerance: number

    点距边界多近可算作在边界上,以模型单位表示。

    1.0e-4
    

    0

    Infinity

    0.000001

    useBndBox: boolean

    为 true 时,位于按 gapTolerance 扩大后的面包围盒之外的点算作 在面外,不做精确测试;对于大量远离面的点是一种快速排除。

    false
    
    gapTolerance: number

    useBndBox 开启时,点可以超出包围盒多远仍能得到精确测试, 以模型单位表示。

    0.1
    

    0

    Infinity

    0.01

    keepIn: boolean

    为 true 时,保留面内的点。

    true
    
    keepOn: boolean

    为 true 时,保留面边界上的点。

    true
    
    keepOut: boolean

    为 true 时,保留面外的点。

    false
    
    keepUnknown: boolean

    为 true 时,保留内核无法判定为在面内、在面上或在面外的点。

    false