Box

Description

Name

class Tinman.Shape.Box

Derived from

Shape

Creates an axis-aligned box shape.

Fields / Required

first

Type

Vec2

First corner of box shape.


second

Type

Vec2

Second corner of box shape.

Fields / Optional

georef

Type

CoordSys

Default

null

The shape georeference.


metadata

Type

string

Default

null

The shape JSON metadata.


value

Type

number

Default

nan

The custom value to use for all box vertices.


type

Type

Shape.Value[]

Default

[]

The type of value.