build_vertex_quadratics
Functions
- deep_copy_vertex_quadratics(destination, source, mesh)
- apply_border_penalty_to_vertex_quadrics(edge, weight, vertex_quadratics)
- apply_border_penalties_to_vertex_quadrics(mesh, border_set, vertex_quadratics, [weight])
- build_vertex_quadratics(mesh, quadratics, [use_triangle_area], [use_border_constraints])
deep_copy_vertex_quadratics(destination, source, mesh)
Kind: global function
Param | Type |
---|---|
destination | Map.<number, Quadratic3> |
source | Map.<number, Quadratic3> |
mesh | TopoMesh |
apply_border_penalty_to_vertex_quadrics(edge, weight, vertex_quadratics)
Kind: global function
See: "Boundary and Texture Preserving Mesh Simplification Algorithm for Virtual Reality" by Kanchan Bahirat et.al. University of Texas/Dallas
Param | Type |
---|---|
edge | TopoEdge |
weight | number |
vertex_quadratics | Map.<number, Quadratic3> |
apply_border_penalties_to_vertex_quadrics(mesh, border_set, vertex_quadratics, [weight])
Kind: global function
Param | Type |
---|---|
mesh | TopoMesh |
border_set | Array.<TopoEdge> |
vertex_quadratics | Map.<number, Quadratic3> |
[weight] | number |
build_vertex_quadratics(mesh, quadratics, [use_triangle_area], [use_border_constraints])
Kind: global function
Param | Type | Description |
---|---|---|
mesh | TopoMesh | |
quadratics | Map.<number, Quadratic3> | VertexID -> Quadratic map |
[use_triangle_area] | boolean | |
[use_border_constraints] | boolean |