Package world.mappable.mapkit.location

Class ViewArea

java.lang.Object
    ↳ world.mappable.mapkit.location.ViewArea

class ViewArea implements Serializable

Defines the visible area.

Summary

Constructors

Signature and Description

ViewArea(double lengthwise,
         double transverse)

ViewArea()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

double

getLengthwise()
The length of the view area in meters.

double

getTransverse()
The width of the view area from center in meters.

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

ViewArea

ViewArea(double lengthwise,
         double transverse)


ViewArea

ViewArea()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getLengthwise

double getLengthwise()

The length of the view area in meters.


getTransverse

double getTransverse()

The width of the view area from center in meters.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)