Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CrossSectionEvaluate

Index

Constructors

constructor

  • Parameters

    • manifoldWorkerManager: ManifoldWorkerManager

    Returns CrossSectionEvaluate

Methods

area

  • Get area of cross section

    group

    basic

    shortname

    area

    drawable

    false

    Parameters

    Returns Promise<number>

    area of cross section

bounds

  • Get the bounds of the contour as a rectangle. Output is given in two vec2 points in the array. First array is the min point and second array is the max point.

    group

    basic

    shortname

    bounds

    drawable

    false

    Parameters

    Returns Promise<Vector2[]>

    bounds of cross section

isEmpty

  • Check if cross section is empty

    group

    basic

    shortname

    is empty

    drawable

    false

    Parameters

    Returns Promise<boolean>

    boolean indicating emptyness

numContour

  • Get number of contours in cross section

    group

    basic

    shortname

    num contour

    drawable

    false

    Parameters

    Returns Promise<number>

    number of contour of cross section

numVert

  • Get number of vertices in cross section

    group

    basic

    shortname

    num vert

    drawable

    false

    Parameters

    Returns Promise<number>

    number of vertices of cross section

Generated using TypeDoc