MCPcopy Create free account
hub / github.com/GeometryCollective/ddg-exercises / angleDefect

Method angleDefect

core/src/geometry.cpp:202–206  ·  view source on GitHub ↗

* Computes the angle defect at a vertex. * * Input: The vertex whose angle defect is to be computed. * Returns: The angle defect of the given vertex. */

Source from the content-addressed store, hash-verified

200 * Returns: The angle defect of the given vertex.
201 */
202double VertexPositionGeometry::angleDefect(Vertex v) const {
203
204 // TODO
205 return 0; // placeholder
206}
207
208/*
209 * Computes the total angle defect of the mesh.

Callers 2

TEST_FFunction · 0.80
computeShadedFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64