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

Method angle

core/src/geometry.cpp:106–110  ·  view source on GitHub ↗

* Computes the angle (in radians) at a given corner. (Do NOT use built-in function for this) * * * Input: The corner at which the angle needs to be computed. * Returns: The angle clamped between 0 and π. */

Source from the content-addressed store, hash-verified

104 * Returns: The angle clamped between 0 and π.
105 */
106double VertexPositionGeometry::angle(Corner c) const {
107
108 // TODO
109 return 0; // placeholder
110}
111
112/*
113 * Computes the signed angle (in radians) between two adjacent faces. (Do NOT use built-in function for this)

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64