Loading...
Searching...
No Matches
com.navigine.examples.CameraUtils Class Reference

Static Public Member Functions

static Camera createCenteredCamera (double x, double y, double zoom)
 
static Camera createRotatedCamera (double x, double y, double zoom, double rotation)
 
static boolean isValidCamera (Camera camera)
 
static Camera createAreaCamera (double centerX, double centerY, double width, double height)
 
static Camera createPathCamera (ArrayList< Point > points)
 

Detailed Description

Camera utilities

Definition at line 416 of file LocationWindowCameraExample.java.

Member Function Documentation

◆ createAreaCamera()

static Camera com.navigine.examples.CameraUtils.createAreaCamera ( double centerX,
double centerY,
double width,
double height )
inlinestatic

Create camera for showing area

Definition at line 442 of file LocationWindowCameraExample.java.

◆ createCenteredCamera()

static Camera com.navigine.examples.CameraUtils.createCenteredCamera ( double x,
double y,
double zoom )
inlinestatic

Create camera for centered point with given zoom

Definition at line 420 of file LocationWindowCameraExample.java.

◆ createPathCamera()

static Camera com.navigine.examples.CameraUtils.createPathCamera ( ArrayList< Point > points)
inlinestatic

Create camera for showing path

Definition at line 451 of file LocationWindowCameraExample.java.

◆ createRotatedCamera()

static Camera com.navigine.examples.CameraUtils.createRotatedCamera ( double x,
double y,
double zoom,
double rotation )
inlinestatic

Create camera with rotation

Definition at line 427 of file LocationWindowCameraExample.java.

◆ isValidCamera()

static boolean com.navigine.examples.CameraUtils.isValidCamera ( Camera camera)
inlinestatic

Validate camera position

Definition at line 434 of file LocationWindowCameraExample.java.


The documentation for this class was generated from the following file: