# Global

### Members

#### CircularIntervalSet

Version:
• 1.0.1
Author:
• Ikaros Kappler
Source:

Source:

#### convexPolygonIncircle

Compute the max sized inlying circle in the given convex (!) polygon - also called the convex-polygon incircle. The function will return an object with either: the circle, and the triangle that defines the three tangent points where the circle touches the polygon.
Source:

#### EPS

For circle-polygon-intersection-count detection we need an epsilon to eliminate smaller precision errors.
Source:

Source:

#### GirihTile

Version:
• 2.0.1-alpha
Author:
• Ikaros Kappler
Source:

#### GLU

Some GL helper utils.
Source:

#### utils

A utility class used by PlotBoilerplate: creategui. The PlotBoilerplate will try to use this for the initialization of the input GUI. Requires the label() polyfill for dat.gui.GUI.
Version:
• 1.0.1
Author:
• Ikaros Kappler
Source:

### Methods

#### findCircleIntersections(convexHull, circle) → {Array:.<number:>}

Find all intersecting lines (indices) on the polyon that intersect the circle.
##### Parameters:
Name Type Description
`convexHull` Polygon The polygon to detect the intersections on (here this is the convex hull given).
`circle` Circle The circle to detect the intersections with.
Source:
##### Returns:
The indices of those lines that intersect (or touch) the circle.
Type
Array:.<number:>

#### getTangentTriangle4(vertA, vertB, vertC, vertD) → {Triangle}

This function computes the three points for the inner maximum circle lying tangential to the three subsequential lines (given by four points). Compute the circle from that triangle by using Triangle.getCircumcircle(). Not all three lines should be parallel, otherwise the circle might have infinite radius. LineA := [vertA, vertB] LineB := [vertB, vertC] LineC := [vertC, vertD]
##### Parameters:
Name Type Description
`vertA` Vertex The first point of the three connected lines.
`vertB` Vertex The second point of the three connected lines.
`vertC` Vertex The third point of the three connected lines.
`vertD` Vertex The fourth point of the three connected lines.
Source:
##### Returns:
The triangle of the circular tangential points with the given lines (3 or 4 of them).
Type
Triangle

#### processTypescript()

This triggers the process.
Source: