Skip to main content

decimate_edge_collapse_snap

Constants

scratch_edges : Array.<TopoEdge>

Functions

edge_collapse_vertex_removal_cost(v)number
pick_lowest_cost_edge_collapse_vertex(edge)TopoVertex
edge_collapse_pick_target_vertex(edge, restricted_vertices)TopoVertex | undefined
build_edge_cost_squared_topology(edge)number
compute_edge_collapse_cost(edge, quadratics, restricted_vertices)
tm_build_cost(edge, quadratics, heap, restricted_vertices)
decimate_edge_collapse_snap(mesh, edge, target, quadratics, heap, restricted_vertices)boolean

scratch_edges : Array.<TopoEdge>

Kind: global constant

edge_collapse_vertex_removal_cost(v) ⇒ number

Kind: global function

ParamType
vTopoVertex

pick_lowest_cost_edge_collapse_vertex(edge) ⇒ TopoVertex

Kind: global function

ParamType
edgeTopoEdge

edge_collapse_pick_target_vertex(edge, restricted_vertices) ⇒ TopoVertex | undefined

Kind: global function

ParamTypeDescription
edgeTopoEdge
restricted_verticesSet.<number>locked vertices

build_edge_cost_squared_topology(edge) ⇒ number

Kind: global function

ParamType
edgeTopoEdge

compute_edge_collapse_cost(edge, quadratics, restricted_vertices)

Kind: global function

ParamType
edgeTopoEdge
quadraticsMap.<number, Quadratic3>
restricted_verticesSet.<number>

tm_build_cost(edge, quadratics, heap, restricted_vertices)

Kind: global function

ParamType
edgeTopoEdge
quadraticsMap.<number, Quadratic3>
heapUint32Heap
restricted_verticesSet.<number>

decimate_edge_collapse_snap(mesh, edge, target, quadratics, heap, restricted_vertices) ⇒ boolean

Kind: global function

ParamType
meshTopoMesh
edgeTopoEdge
targetTopoVertex
quadraticsMap.<number, Quadratic3>
heapUint32Heap
restricted_verticesSet.<number>