Package-level declarations

Types

Link copied to clipboard
open class BoundingBox

Source from kool engine.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Edge<T : Vec3f>(val pt0: T, val pt1: T)
Link copied to clipboard
class EdgeAdapter<T : Edge<*>> : ItemAdapter<T>
Link copied to clipboard
Link copied to clipboard
interface ItemAdapter<T : Any>
Link copied to clipboard
open class KdTree<T : Any>(items: List<T>, itemAdapter: ItemAdapter<T>, bucketSz: Int = 10) : SpatialTree<T>

Source from kool engine.

Link copied to clipboard
interface PointDistance<T : Any>
Link copied to clipboard
abstract class SpatialTree<T : Any>(val itemAdapter: ItemAdapter<T>) : Collection<T>
Link copied to clipboard
abstract class SpatialTreeTraverser<T : Any>
Link copied to clipboard
open class Triangle(val pt0: Vec3f, val pt1: Vec3f, val pt2: Vec3f)
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Edge<*>> edgeKdTree(edges: List<T>, bucketSz: Int = 10): KdTree<T>
Link copied to clipboard
fun <T : Vec3f> pointKdTree(points: List<T>, bucketSz: Int = 20): KdTree<T>
Link copied to clipboard
fun triangleKdTree(mesh: MeshGeometry, bucketSz: Int = 10): KdTree<Triangle>
fun <T : Triangle> triangleKdTree(triangles: List<T>, bucketSz: Int = 10): KdTree<T>