Skip to content

editor › Globals › SplitShorterSidesStrategy

Class: SplitShorterSidesStrategy

Tries to produce mechanically stable models by splitting the shorter plate and keeping long plates unsplit.

Hierarchy

  • SplitShorterSidesStrategy

Implements

Index

Properties

Methods

Properties

Private assembly

• assembly: Assembly = null

Defined in src/model/data/Component/plateMerging/SplitShorterSidesStrategy.ts:11

Methods

Private _getProjectedLength

▸ _getProjectedLength(plate: Plate, planeNormal: Vector3): number

Defined in src/model/data/Component/plateMerging/SplitShorterSidesStrategy.ts:34

Parameters:

Name Type
plate Plate
planeNormal Vector3

Returns: number


getPlateToBeSplit

▸ getPlateToBeSplit(plateA: Plate, plateB: Plate): Plate

Implementation of IPlateSplittingStrategy

Defined in src/model/data/Component/plateMerging/SplitShorterSidesStrategy.ts:13

Parameters:

Name Type
plateA Plate
plateB Plate

Returns: Plate


initialize

▸ initialize(assembly: Assembly): void

Defined in src/model/data/Component/plateMerging/SplitShorterSidesStrategy.ts:30

Parameters:

Name Type
assembly Assembly

Returns: void