nape-js API
    Preparing search index...

    Class GeomPoly

    A polygon represented as a circular doubly-linked list of vertices.

    Supports construction from Array, Vec2List, or another GeomPoly. Provides geometric queries (area, winding, containment, convexity) and decomposition algorithms (simple, monotone, convex, triangular).

    Converted from nape-compiled.js lines 16271–19420.

    Index

    Constructors

    Methods

    • Parameters

      • delaunay: boolean = false
      • Optionaloutput: any

      Returns any

    • Parameters

      • start: Vec2
      • end: Vec2
      • boundedStart: boolean = false
      • boundedEnd: boolean = false
      • Optionaloutput: any

      Returns any

    • Parameters

      • delaunay: boolean = false
      • Optionaloutput: any

      Returns any