Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CrossSectionShapes

Index

Constructors

Methods

Constructors

constructor

  • new CrossSectionShapes(manifoldWorkerManager: ManifoldWorkerManager): CrossSectionShapes
  • Parameters

    • manifoldWorkerManager: ManifoldWorkerManager

    Returns CrossSectionShapes

Methods

circle

  • Create a 2D circle cross section

    group

    primitives

    shortname

    circle

    drawable

    true

    Parameters

    Returns Promise<CrossSectionPointer>

    circle cross section

create

  • Create a 2d cross-section from a set of contours (complex polygons). A boolean union operation (with Positive filling rule by default) is performed to combine overlapping polygons and ensure the resulting CrossSection is free of intersections.

    group

    base

    shortname

    create

    drawable

    true

    Parameters

    Returns Promise<CrossSectionPointer>

    cross section

rectangle

  • Create a 2D rectangle cross section

    group

    primitives

    shortname

    rectangle

    drawable

    true

    Parameters

    Returns Promise<CrossSectionPointer>

    rectangle cross section

square

  • Create a 2D square cross section

    group

    primitives

    shortname

    square

    drawable

    true

    Parameters

    Returns Promise<CrossSectionPointer>

    square cross section

Generated using TypeDoc