Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "geom"

Index

Functions

ConvexHull

LLtangent_PolyPolyC

  • LLtangent_PolyPolyC(V: Point[], W: Point[]): object
  • Parameters

    Returns object

    • t1: number
    • t2: number

LRtangent_PolyPolyC

  • LRtangent_PolyPolyC(V: Point[], W: Point[]): object
  • Parameters

    Returns object

    • t1: number
    • t2: number

Ltangent_PointPolyC

  • Ltangent_PointPolyC(P: Point, V: Point[]): number
  • Parameters

    Returns number

RLtangent_PolyPolyC

  • RLtangent_PolyPolyC(V: Point[], W: Point[]): object
  • Parameters

    Returns object

    • t1: number
    • t2: number

RRtangent_PolyPolyC

  • RRtangent_PolyPolyC(V: Point[], W: Point[]): object
  • Parameters

    Returns object

    • t1: number
    • t2: number

Rtangent_PointPolyC

  • Rtangent_PointPolyC(P: Point, V: Point[]): number
  • Parameters

    Returns number

above

  • Parameters

    Returns boolean

below

  • Parameters

    Returns boolean

clockwiseRadialSweep

  • clockwiseRadialSweep(p: Point, P: Point[], f: function): void
  • Parameters

    Returns void

intersects

  • Parameters

    Returns Array<any>

isAnyPInQ

  • Parameters

    Returns boolean

isLeft

  • tests if a point is Left|On|Right of an infinite line.

    Parameters

    Returns number

    0 for P2 left of the line through P0 and P1 =0 for P2 on the line <0 for P2 right of the line

isPointInsidePoly

  • isPointInsidePoly(p: Point, poly: Point[]): boolean
  • Parameters

    Returns boolean

nextPolyPoint

polysOverlap

  • Parameters

    Returns boolean

prevPolyPoint

tangent_PointPolyC

  • tangent_PointPolyC(P: Point, V: Point[]): object
  • Parameters

    Returns object

    • ltan: number
    • rtan: number

tangent_PolyPolyC

  • tangent_PolyPolyC(V: Point[], W: Point[], t1: function, t2: function, cmp1: function, cmp2: function): object

tangents

Generated using TypeDoc