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

class Double0 in Tinman.Terrain.Vertices.Arrays

Data container for application vertex data: 64-bit floating-point values.

abstract class Double0 extends VertexArray<float64>
  base of Double1
  Double2
  Double3
  Double4

Public / Attributes

Capacity

Returns the capacity of this object.

public property Capacity { get }
type int32
value [>=0] The capacity, in elements.
inherited CapacityBase.Capacity

MemoryConsumption

Returns the estimated memory consumption of this object.

public property MemoryConsumption { get }
type int64
value [>=0] The estimated memory consumption, in bytes.
inherited VertexArray.MemoryConsumption

TupleSize

The tuple size.

public property TupleSize { get }
type int32
value [1..4] The tuple size.
inherited VertexArray.TupleSize

TupleType

The tuple element type.

public property TupleType { get }
type TupleType
value The tuple element type.
inherited VertexArray.TupleType

X

public readonly field X
type T[]
inherited VertexArray.X

Public / Methods

CopyVertexData

Copies vertex data from one vertex to another.

public abstract method CopyVertexData (int32 from, int32 to)
params from The vertex to copy from.
  to The vertex to copy to.
inherited VertexArray.CopyVertexData

GetD

Returns a tuple component with 64-bit floating-point precision.

public method GetD (int32 index, TupleComponent component)
type float64
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.
inherited VertexArray.GetD

GetF

Returns a tuple component with 32-bit floating-point precision.

public method GetF (int32 index, TupleComponent component)
type float32
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.
inherited VertexArray.GetF

GetI

Returns a tuple component with 32-bit integer precision.

public method GetI (int32 index, TupleComponent component)
type int32
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.
inherited VertexArray.GetI

GetL

Returns a tuple component with 64-bit integer precision.

public method GetL (int32 index, TupleComponent component)
type int64
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.
inherited VertexArray.GetL

Protected / Constructors

Double0

Creates a new data container.

protected constructor Double0 (int32 capacity, int32 tupleSize)
params capacity [>0] The capacity, in vertices.
  tupleSize [1..4] The tuple size.

Protected / Methods

ToD

protected override method ToD (float64 value)
type float64
params value
implements VertexArray.ToD

ToF

protected override method ToF (float64 value)
type float32
params value
implements VertexArray.ToF

ToI

protected override method ToI (float64 value)
type int32
params value
implements VertexArray.ToI

ToL

protected override method ToL (float64 value)
type int64
params value
implements VertexArray.ToL