isTriangulatedCCW MethodStatic

  • Test if the graph is triangulated.
  • Return false if:
    • Positive area face with more than 3 edges
    • more than 1 negative area face with allowMultipleNegativeAreaFaces false
  • 2-edge faces are ignored.

isTriangulatedCCW(source: | [], allowMultipleNegativeAreaFaces: boolean = true, numPositiveExceptionsAllowed: number = 0): boolean

Parameter Type Description
source | []  
allowMultipleNegativeAreaFaces boolean  
numPositiveExceptionsAllowed number  

Returns - boolean

Defined in

Last Updated: 11 June, 2024