Bitbybit Docs
    Preparing search index...

    Interface VoronoiPiece (Models.OCCT)

    One piece of the shape a voronoi method made: a child of the compound, in order, or a hole of a perforated face, in the order of its seeds.

    interface VoronoiPiece {
        seeds: number[];
        walls: number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    seeds: number[]

    The seeds whose cells the piece belongs to or lies between, as positions in the seed list: the one cell of a face, solid or hole; the cells either side of an edge or face; every cell round an edge in space; or the seeds a Delaunay edge or triangle joins.

    walls: number[]

    The walls the piece lies on: the face's edges, numbered as shapes.edge.getEdges numbers them, or the solid's faces, numbered as shapes.face.getFaces numbers them. Empty for a piece inside.