Skip to content

five-on-it / packages/world/src/audit/coplanar / CoplanarOverlap

Interface: CoplanarOverlap ​

Defined in: packages/world/src/audit/coplanar.ts:33

Two triangles that lie in one plane, face the same way, differ in colour and overlap.

Properties ​

a ​

a: number

Defined in: packages/world/src/audit/coplanar.ts:35

Their indices in the soup.


area ​

area: number

Defined in: packages/world/src/audit/coplanar.ts:39

The area they share (m²).


b ​

b: number

Defined in: packages/world/src/audit/coplanar.ts:37

Their indices in the soup.


colors ​

colors: [string, string]

Defined in: packages/world/src/audit/coplanar.ts:45

Their colours.


normal ​

normal: [number, number, number]

Defined in: packages/world/src/audit/coplanar.ts:41

The plane's unit normal (the way both face).


offset ​

offset: number

Defined in: packages/world/src/audit/coplanar.ts:43

The plane's offset along its normal (m).