Skip to main content

interface.PolymeshValues

API > PolymeshValues

Interface: PolymeshValues

PolymeshValues is a collection of values for measuring a face with no identifiable surface. These are generated surfaces typically from tesselated data.

Properties

area

area?: number

Calculated area of the original triangles

Source

@novorender/measure/modules/core/index.ts:100


kind

readonly kind: "polymesh"

Source

@novorender/measure/modules/core/index.ts:94


perimiter

readonly perimiter: number

Perimiter of the polymesh surface

Source

@novorender/measure/modules/core/index.ts:96


vertices

readonly vertices: vec3[]

Start and end verticies for each curve in the face loop

Source

@novorender/measure/modules/core/index.ts:98