(arc-length points)
(arc-length-index points)
(axis-bounds axis coll)
(axis-range axis coll)
(bounding-box points)
(bounding-rect points)
(bounds* zero [x & xs :as coll])
(center c' coll)
(center c c' coll)
(centroid [x & xs :as coll])
(clockwise2? a b c)
(clockwise3? a b c n)
(closest-line-between a1 b1 a2 b2)
(closest-point-coeff p a b)
(closest-point-on-line p a b)
(closest-point-on-segment p a b)
(closest-point-on-segments p segments)
(delta-contains points p eps)
(dist* rf)
(from-barycentric points weights)
(map-bilinear [a b c d] [u v])
Takes a seq of 4 points in ccw order and 2D vector of normalized UV coordinates. Applies bilinear interpolation to compute point within the rect: U is coord along AB/DC edge, V along BC/AD
Takes a seq of 4 points in ccw order and 2D vector of normalized UV coordinates. Applies bilinear interpolation to compute point within the rect: U is coord along AB/DC edge, V along BC/AD
(map-trilinear [a b c d e f g h] [u v w])
Takes a seq of 8 points defining a cuboid and vector of normalized UVW coordinates. Applies trilinear interpolation to compute point within the cuboid: U is coord along AD/BC edge, V along AE/BF, W along AB/DC (see above diagram)
Takes a seq of 8 points defining a cuboid and vector of normalized UVW coordinates. Applies trilinear interpolation to compute point within the cuboid: U is coord along AD/BC edge, V along AE/BF, W along AB/DC (see above diagram)
(norm-sign2 [ax ay] [bx by] [cx cy])
(norm-sign3 a b c)
(ortho-normal [a b c])
(ortho-normal a b)
(ortho-normal a b c)
(point-at t points)
(point-at t points idx)
(point-at* points idx total t i)
(point-in-triangle2? p a b c)
(point-in-triangle3? p a b c)
(radial-bounds ctor c r-or-points)
(sample-segment-with-res a b res include-b?)
(sample-uniform udist include-last? points)
(sample-uniform* udist include-last? points)
(scale-size s coll)
(scale-size c s coll)
(tessellate-3 points)
(tessellate-max4 points)
(tessellate-tri-with-midpoints [a b c])
(tessellate-with-first points)
(tessellate-with-point points)
(tessellate-with-point c points)
(total-area-3d faces)
(total-volume faces)
(tri-area2 a b c)
(tri-area3 a b c)
(triangle-barycentric-coords [a b c] p)
(triangle-barycentric-coords a b c p)
(triangle-barycentric-coords a b c p u v)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close