TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class MapShapes in Tinman.Terrain.Mapping

A group of IMapShape objects.

sealed class MapShapes with <TElement> as class, IMapShape

Public / Attributes

Elements

The map shapes in the group.

public readonly field Elements
type IVector<TElement>

Public / Constructors

MapShapes

Creates a new instance of MapShapes.

public constructor MapShapes ()

Public / Methods

Contains

Does this pixel map shape group contain the given geographic coordinates?

public method Contains (LatLon coords)
type bool
params coords The geographic coordinates.
returns true if coords are contained in this shape, false if not.

ShapeAdd

Adds all map shapes in this group to the given map, replacing all map shape elements with the value returned by ShapeAdd.

public method ShapeAdd (IMapShapes<TElement> shapes)
params shapes [not-null] The map shapes object.

ShapePrepare

Prepares all map shapes in this group to the given map, replacing all map shape elements with the value returned by ShapePrepare.

[ThreadSafe]
public method ShapePrepare (IMapShapes<TElement> shapes)
params shapes [not-null] The map shapes object.

ShapeRemove

Removes all map shapes in this group from the given map.

public method ShapeRemove (IMapShapes<TElement> shapes)
params shapes [not-null] The map shapes object.