Skip to main content

computeEdgeCollapseCost

Constants

INVALID_FLIP_COST : number

Value to be used when collapse would flip normal of one or more adjacent faces

Functions

computeEdgeCollapseCost(victim, target, victim_edge, vertex_quadratics)number

Approximate cost of collapsing an edge, removing victim vertex from topology and merging it with the target vertex NOTE: adapted from THREE.js mesh simplification code

INVALID_FLIP_COST : number

Value to be used when collapse would flip normal of one or more adjacent faces

Kind: global constant

computeEdgeCollapseCost(victim, target, victim_edge, vertex_quadratics) ⇒ number

Approximate cost of collapsing an edge, removing victim vertex from topology and merging it with the target vertex NOTE: adapted from THREE.js mesh simplification code

Kind: global function

ParamType
victimTopoVertex
targetTopoVertex
victim_edgeTopoEdge
vertex_quadraticsMap.<number, Quadratic3>