i_triangle 0.42.0

Polygon Triangulation Library: Efficient Delaunay Triangulation for Complex Shapes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::advanced::bitset::IndexBitSet;
use alloc::vec::Vec;

#[derive(Default)]
pub struct DelaunayBuffer {
    pub(crate) bitset: Option<IndexBitSet>,
    pub(crate) indices: Option<Vec<usize>>,
}

impl DelaunayBuffer {
    #[inline]
    pub fn new() -> Self {
        Self {
            bitset: None,
            indices: None,
        }
    }
}