MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / edge_interp

Method edge_interp

source/matplot/util/contourc.cpp:665–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663 }
664
665 XY QuadContourGenerator::edge_interp(const QuadEdge &quad_edge,
666 const double &level) {
667 assert(quad_edge.quad >= 0 && quad_edge.quad < _n &&
668 "Quad index out of bounds");
669 assert(quad_edge.edge != Edge::Edge_None && "Invalid edge");
670 return interp(get_edge_point_index(quad_edge, true),
671 get_edge_point_index(quad_edge, false), level);
672 }
673
674 unsigned int QuadContourGenerator::follow_boundary(
675 ContourLine &contour_line, QuadEdge &quad_edge,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected