Skip to content
Shapemetry

@huukhanhnguyen/types / geometry/mesh

geometry/mesh

ScatterTriangle

ScatterTriangle = { a: Point; area: number; b: Point; c: Point; normal: Vector; }

One triangle with its measures precomputed — what area-weighted sampling (scatter, point-cloud seeding) walks. Not a data document: a bare geometric sample, which is why it carries area and normal rather than an id.

a

a: Point

area

area: number

b

b: Point

c

c: Point

normal

normal: Vector

Last updated: 📖 1 min readEdit on GitHub