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

Method vertexNormalSphereInscribed

core/src/geometry.cpp:154–158  ·  view source on GitHub ↗

* Computes the normal at a vertex using the "inscribed sphere" method. * * Input: The vertex on which the normal is to be computed. * Returns: The "inscribed sphere" normal vector. */

Source from the content-addressed store, hash-verified

152 * Returns: The "inscribed sphere" normal vector.
153 */
154Vector3 VertexPositionGeometry::vertexNormalSphereInscribed(Vertex v) const {
155
156 // TODO
157 return {0, 0, 0}; // placeholder
158}
159
160/*
161 * Computes the normal at a vertex using the "face area weights" method.

Callers 2

TEST_FFunction · 0.80
computeNormalsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64