Skip to content

Documentation / @giro3d/piero / modules / analysis / CrossSection

Class: CrossSection ​

Defined in: packages/piero/src/modules/analysis/CrossSection.ts:10

An analysis module that displays a cross section.

Implements ​

Constructors ​

Constructor ​

new CrossSection(): CrossSection

Returns ​

CrossSection

Properties ​

id ​

readonly id: "builtin-analysis-cross-section" = 'builtin-analysis-cross-section'

Defined in: packages/piero/src/modules/analysis/CrossSection.ts:11

The unique id of the module, that also acts as a key to find the module configuration in the app configuration.

Implementation of ​

Module.id


name ​

readonly name: "Cross section" = 'Cross section'

Defined in: packages/piero/src/modules/analysis/CrossSection.ts:12

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void

Defined in: packages/piero/src/modules/analysis/CrossSection.ts:16

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void

Implementation of ​

Module.initialize