SceneDataBounds

Description

sealed class Tinman.Engine.Scenes.Data.SceneDataBounds

Derived from

ISceneDataBounds

Default implementation of the ISceneDataBounds interface.

Public / Constructors

Scene​Data​Bounds


public constructor SceneDataBounds → ()

Creates a new instance of SceneDataBounds.

Public / Methods

Build​Shape

2 overloads


public static method BuildShape1 → (7)

geographicBox in : LatLonRange

The geographic bounds.

georef opt : CoordinateSystem = null

The coordinate system or null to use CoordinateSystem.WGS84.

colorFill opt : int64 = Colors.Red & Colors.Opaque10

The fill color of the shape interior, see ColorRamp.Shape.

colorBorder opt : int64 = Colors.Red

The color of the border line, see ColorRamp.Shape.

borderThickness opt : float64 = 2

The thickness of the shape border, see ColorRamp.Shape.

borderStipple opt : LineStipple = default(LineStipple)

The shape border stipple, see PixelPyramidShape.Rasterize3.

layer opt : int32 = 0

The shape layer, see PixelPyramidShape.For.

returns → PixelPyramidShape

The created PixelPyramidShape or null if the shape would be empty or not visible.

Builds a PixelPyramidShape for the given geographic bounds.

This method is a helper for visualizing GeographicBox.


public static method BuildShape2 → (7)

projectedBox in : Box2D

The projected bounds.

georef in : CoordinateSystem

[not-null]
The coordinate system.

colorFill opt : int64 = Colors.Red & Colors.Opaque10

The fill color of the shape interior, see ColorRamp.Shape.

colorBorder opt : int64 = Colors.Red

The color of the border line, see ColorRamp.Shape.

borderThickness opt : float64 = 2

The thickness of the shape border, see ColorRamp.Shape.

borderStipple opt : LineStipple = default(LineStipple)

The shape border stipple, see PixelPyramidShape.Rasterize3.

layer opt : int32 = 0

The shape layer, see PixelPyramidShape.For.

returns → PixelPyramidShape

The created PixelPyramidShape or null if the shape would be empty or not visible.

Builds a PixelPyramidShape for the given projected bounds.

This method is a helper for visualizing ProjectedBox.

Public / Attributes

Geographic​Box


public attribute GeographicBox → (get,set)

value : LatLonRange

The bounding box or LatLonRange.Undefined iff there is no data or the existing data does not use this bounding volume type.

Returns the bounding box along the horizontal axes of the geographic coordinate system.

The bounding box of a ISceneDataNode node will contain all content items, including those of descendant nodes. The corresponding bounding box hierarchy is not required to be nested, though.

Geographic​Range


public attribute GeographicRange → (get,set)

value : RangeD

The bounding range or RangeD.Inv iff there is no data or the existing data does not use this bounding volume type.

Returns the bounding range along the vertical axis of the geographic coordinate system.

The bounding range of a ISceneDataNode node will contain all content items, including those of descendant nodes. The corresponding bounding range hierarchy is not required to be nested, though.

Global​Tile


public attribute GlobalTile → (get,set)

value : PyramidCoords

The coordinates of the bounding tile, PyramidCoords.All for the whole globe or PyramidCoords.Undefined iff there is no data or the existing data does not use this bounding volume type.

Returns the global cubemap bounding tile.

Local​Box


public attribute LocalBox → (get,set)

value : Cuboid

The bounding box or Cuboid.Undefined iff there is no data or the existing data does not use this bounding volume type.

Returns the bounding box in the local coordinate system.

The bounding box of a ISceneDataNode node will contain all content items, including those of descendant nodes. The corresponding bounding box hierarchy is not required to be nested, though.

Local​Sphere


public attribute LocalSphere → (get,set)

value : Sphere

The bounding sphere or Sphere.Undefined iff there is no data or the existing data does not use this bounding volume type.

Returns the bounding sphere in the local coordinate system.

The bounding sphere of a ISceneDataNode node will contain all content items, including those of descendant nodes. The corresponding bounding sphere hierarchy is not required to be nested, though.

Projected​Box


public attribute ProjectedBox → (get,set)

value : Box2D

The bounding box or Box2D.Inverse iff there is no data or the existing data does not use this bounding volume type.

Returns the bounding box in the projected coordinate system.

The bounding box of a ISceneDataNode node will contain all content items, including those of descendant nodes. The corresponding bounding box hierarchy is not required to be nested, though.