Skip to content
Last updated

API / geotoolkit / scene / AutoModelLimitsStrategy / AutoModelLimitsStrategy

Class: AutoModelLimitsStrategy

scene.AutoModelLimitsStrategy.AutoModelLimitsStrategy

Synchronize model limits with bounds in horizontal or/and vertical direction

Hierarchy

Table of contents

Constructors
  • [new AutoModelLimitsStrategy(horizontalDirection, verticalDirection)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.automodellimitsstrategy.automodellimitsstrategy.md#new automodellimitsstrategy(horizontaldirection, verticaldirection))
Methods

Contents

Constructors

new AutoModelLimitsStrategy(horizontalDirection, verticalDirection)

• new AutoModelLimitsStrategy(horizontalDirection?, verticalDirection?)

Creates auto model limits strategy

Parameters

Name Type Description
Optional horizontalDirectionbooleanflag to set synchronization with bounds in horizontal direction
Optional verticalDirectionbooleanflag to set synchronization with bounds in vertical direction

Overrides

ModelLimitsStrategy.constructor

Methods

adjustModelLimits

▸ adjustModelLimits(model, modelLimits): Rect

Adjusts model limits

Parameters

Name Type Description
modelCompositeNode<Node&gt;model
modelLimitsRectmodel limits

Returns

Rect

adjusted model limits

Overrides

ModelLimitsStrategy.adjustModelLimits


getClassName

▸ getClassName(): string

Returns

string

Inherited from

ModelLimitsStrategy.getClassName


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

ModelLimitsStrategy.getClassName