MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / next

Method next

splashsurf_lib/src/halfedge_mesh.rs:181–185  ·  view source on GitHub ↗

Returns the next half-edge in the loop of the given half-edge, panics if there is none

(&self, half_edge: HalfEdge)

Source from the content-addressed store, hash-verified

179
180 /// Returns the next half-edge in the loop of the given half-edge, panics if there is none
181 pub fn next(&self, half_edge: HalfEdge) -> HalfEdge {
182 self.half_edges[half_edge
183 .next
184 .expect("half edge must have a next reference")]
185 }
186
187 /// Returns the next half-edge in the loop of the given half-edge if it exists
188 pub fn try_next(&self, half_edge: HalfEdge) -> Option<HalfEdge> {

Callers 5

is_collapse_okMethod · 0.45
half_edge_collapseMethod · 0.45
from_pointsMethod · 0.45
first_bgeo_errorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected