MCPcopy Create free account
hub / github.com/Notgnoshi/generative / lines

Method lines

generative/triangulation.rs:57–65  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

55 }
56
57 pub fn lines(&self) -> impl Iterator<Item = geo::Line> + '_ {
58 self.triangle_points().flat_map(|(a, b, c)| {
59 [
60 geo::Line::new(a, b),
61 geo::Line::new(b, c),
62 geo::Line::new(a, c),
63 ]
64 })
65 }
66
67 pub fn hull(&self) -> geo::Polygon {
68 let hull: Vec<geo::Coord> = self

Callers 5

build_rune_scriptFunction · 0.80
test_graphFunction · 0.80
read_tgf_graphFunction · 0.80
read_wkt_geometriesFunction · 0.80

Calls 1

triangle_pointsMethod · 0.80

Tested by 1

test_graphFunction · 0.64