Liking cljdoc? Tell your friends :D

thi.ng.geom.mesh.ops


canonicalize-verticesclj/s

(canonicalize-vertices mesh eps)
source

collapse-edgesclj/s

(collapse-edges m eps)
source

dist-to-edgeclj/s

(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.
sourceraw docstring

edges-without-vclj/s

(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.
sourceraw docstring

face-permutationsclj/s

(face-permutations f)
source

find-in-treeclj/s

(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).
sourceraw docstring

make-watertightclj/s

(make-watertight {:keys [vertices edges] :as m} eps)
source

remove-internalclj/s

(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.
sourceraw docstring

remove-internal-with-edgesclj/s

(remove-internal-with-edges mesh)
source

repair-tjunctionsclj/s

(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.
sourceraw docstring

split-tfaceclj/s

(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.
sourceraw docstring

t-junction?clj/s

(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)
sourceraw docstring

t-junctionsclj/s

(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]).
sourceraw docstring

unique-point-treeclj/s

(unique-point-tree points eps)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close