Camera

org.appliedtopology.tda4j.plot.Camera
object Camera

The camera of a 3-D scene: where it looks from, azimuth around the vertical axis and elevation above the horizon (both in degrees), and how close, zoom (1 is the default, 2 shows the scene twice as large). A page's canvas starts from this view and can still be turned and zoomed; a saved .svg is this one view. Only what is given changes. A 2-D figure has no camera and refuses it.

Attributes

Experimental
true
Source
ElementTweaks.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Camera.type

Members list

Value members

Concrete methods

def apply(azimuth: Optional[Double] = ..., elevation: Optional[Double] = ..., zoom: Optional[Double] = ...): Tweak

Attributes

Source
ElementTweaks.scala

Concrete fields

val zoomRange: (Double, Double)

The largest and smallest zoom, which are the canvas's own limits.

The largest and smallest zoom, which are the canvas's own limits.

Attributes

Source
ElementTweaks.scala