Intersections

Types

Link copied to clipboard
class CurveInterval(curve: Curve2, tLo: Double, tHi: Double, pLo: Vec2, pHi: Vec2)
Link copied to clipboard
class FatLine

Properties

Link copied to clipboard
Link copied to clipboard
const val FAT_LINE_SPATIAL_EPSILON: Double = 1.0E-5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val PARAMETRIC_EPSILON: Double = 1.0E-5
Link copied to clipboard
const val SPATIAL_EPSILON: Double = 1.0E-5

Functions

Link copied to clipboard
Link copied to clipboard
fun clipHull(fatLine: Interval, hull: Array<Vec2>): Interval
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun lineLine(a: Line2, b: Line2): Array<Vec2>
Link copied to clipboard
Link copied to clipboard
fun normalize(intersections: Array<Vec2>): Array<Vec2>
Link copied to clipboard
Link copied to clipboard
fun round(n: Double, epsilon: Double): Double
Link copied to clipboard