rene 0.2.0

Computational geometry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::geometries::contracts;

use super::types::Contour;

impl<Scalar: PartialEq> PartialEq for Contour<Scalar> {
    fn eq(&self, other: &Self) -> bool {
        contracts::are_non_empty_unique_sequences_rotationally_equivalent(
            &self.vertices,
            &other.vertices,
        )
    }
}