(dist-to-edge v e)
Takes a vertex and edge, returns distance between v & e.
Takes a vertex and edge, returns distance between v & e.
(edges-without-v m v)
Takes gmesh and vertex, returns lazyseq of all edges NOT related to v.
Takes gmesh and vertex, returns lazyseq of all edges NOT related to v.
(find-in-tree eps)
Takes a query radius eps
, returns a fn which queries an octree
with a spherical region around p
using the pre-configured radius.
Returns the closest point found (if any).
Takes a query radius `eps`, returns a fn which queries an octree with a spherical region around `p` using the pre-configured radius. Returns the closest point found (if any).
(remove-internal mesh)
Takes a mesh and removes all faces which have coincident vertices, but opposite orientation. Returns updated mesh.
Takes a mesh and removes all faces which have coincident vertices, but opposite orientation. Returns updated mesh.
(repair-tjunctions m)
Takes a gmesh, finds all t-junction? and repairs them by introducing new edges/faces. Returns updated mesh.
Takes a gmesh, finds all t-junction? and repairs them by introducing new edges/faces. Returns updated mesh.
(split-tface v e fverts)
Takes a vertex, edge and face (triangle) to be split. Returns vector of 2 new faces.
Takes a vertex, edge and face (triangle) to be split. Returns vector of 2 new faces.
(t-junction? m v)
Takes gmesh and a vertex. Returns a vector, describing a T-junction edge/face pair (or nil, if vertex is properly connected)
Takes gmesh and a vertex. Returns a vector, describing a T-junction edge/face pair (or nil, if vertex is properly connected)
(t-junctions m)
Takes gmesh and returns lazyseq of t-junctions (each a 3-elem vector of [vertex edge face]).
Takes gmesh and returns lazyseq of t-junctions (each a 3-elem vector of [vertex edge face]).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close