Skip to content

API / geotoolkit / util / ITransformable / ITransformable

Class: ITransformable

util.ITransformable.ITransformable

Define an interface to provide nonaffine transformation from a linear 2D-space.

Interface

Implemented by

Table of contents

Constructors
  • [new ITransformable()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.util.itransformable.itransformable.md#new itransformable())
Methods

Contents

Constructors

new ITransformable()

• new ITransformable()

Methods

getOutline

▸ Abstract getOutline(tr): Polygon

Gets node outline

Parameters

Name Type Description
trTransformationtransformation which will be applied to outline

Returns

Polygon


inverseTransform

▸ Abstract inverseTransform(point): Point

Transforms point from device space to node space

Parameters

Name Type Description
pointPointpoint to transform

Returns

Point

transformed point


transform

▸ Abstract transform(point): Point

Transforms point from node space to device space

Parameters

Name Type Description
pointPointpoint to transform

Returns

Point

transformed point


transformFromLinear

▸ Abstract transformFromLinear(point): Point

Transforms point from linear space to node space

Parameters

Name Type Description
pointPointpoint to transform

Returns

Point

transformed point


transformToLinear

▸ Abstract transformToLinear(point): Point

Transforms point from node space to linear space

Parameters

Name Type Description
pointPointpoint to transform

Returns

Point

transformed point