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
- topology/HalfEdgeGraphSearch.ts Line 103
Last Updated: 30 November, 2023