mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-13 14:28:27 +00:00
Rename argument to prepare for follow-on change
This commit is contained in:
parent
0aef67f9ce
commit
03e0c320fa
@ -77,12 +77,12 @@ pub enum ShellValidationError {
|
|||||||
impl ShellValidationError {
|
impl ShellValidationError {
|
||||||
/// Check that each half-edge is part of a pair
|
/// Check that each half-edge is part of a pair
|
||||||
fn check_half_edge_pairs<'r>(
|
fn check_half_edge_pairs<'r>(
|
||||||
shell: &'r Shell,
|
object: &'r Shell,
|
||||||
geometry: &'r Geometry,
|
geometry: &'r Geometry,
|
||||||
) -> impl Iterator<Item = HalfEdgeHasNoSibling> + 'r {
|
) -> impl Iterator<Item = HalfEdgeHasNoSibling> + 'r {
|
||||||
let mut unmatched_half_edges = BTreeMap::new();
|
let mut unmatched_half_edges = BTreeMap::new();
|
||||||
|
|
||||||
for face in shell.faces() {
|
for face in object.faces() {
|
||||||
for cycle in face.region().all_cycles() {
|
for cycle in face.region().all_cycles() {
|
||||||
for half_edge in cycle.half_edges() {
|
for half_edge in cycle.half_edges() {
|
||||||
let curve = half_edge.curve().clone();
|
let curve = half_edge.curve().clone();
|
||||||
@ -102,7 +102,7 @@ impl ShellValidationError {
|
|||||||
// currently looking at. Let's make sure the logic
|
// currently looking at. Let's make sure the logic
|
||||||
// we use here to determine that matches the
|
// we use here to determine that matches the
|
||||||
// "official" definition.
|
// "official" definition.
|
||||||
assert!(shell
|
assert!(object
|
||||||
.are_siblings(half_edge, sibling, geometry));
|
.are_siblings(half_edge, sibling, geometry));
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
|
Loading…
Reference in New Issue
Block a user