Bitbybit Docs
    Preparing search index...

    Class CrossSectionFromPolygonPointsDto (Inputs.Manifold)

    用于 crossSection.crossSectionFromPoints 的以点表示的一个多边形和填充选项。

    Index

    Constructors

    Properties

    points: Point3[]

    多边形的点,按顺序排列;只使用 X 和 Y。

    fillRule?: fillRuleEnum

    自相交多边形的哪些区域算作内部:奇偶、非零、正绕数或负绕数。

    positive
    
    removeDuplicates?: boolean

    为 true 时,构建之前丢弃连续重复的点,包括最后一个和第一个。

    false
    
    tolerance?: number

    两个点必须多近才算作重复,以模型单位表示。

    1e-7