BufferPoint

View bound to the underlying buffer data of a BufferPointCollection.

BufferPoint instances are flyweights: a single BufferPoint instance can be temporarily bound to any conceptual "point" in a BufferPointCollection, allowing very large collections to be iterated and updated with a minimal memory footprint.

Represented as one (1) position.

new Ditap.BufferPoint()

Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

See:

Extends

Members

featureId : number

Feature ID associated with the primitive; not required to be unique.
Inherited From:

pickObject : object|undefined

User-defined pick object, if any. After a primitive has been rendered, its pick object can no longer be changed.
Inherited From:

show : boolean

Whether primitive is shown.
Inherited From:

readonly vertexCount : number

Count of positions (vertices) in this primitive. Always 1.

Methods

static Ditap.BufferPoint.clone(point, result) → BufferPoint

Copies data from source point to result.
Name Type Description
point BufferPoint
result BufferPoint
Returns:

getMaterial(result) → BufferPrimitiveMaterial

Name Type Description
result BufferPrimitiveMaterial
Returns:
Inherited From:

getPosition(result) → Cartesian3

Gets the position of this point.
Name Type Description
result Cartesian3 optional
Returns:

setMaterial(material)

Name Type Description
material BufferPrimitiveMaterial
Inherited From:

setPosition(position)

Sets the position of this point.
Name Type Description
position Cartesian3

toJSON() → Object

Returns a JSON-serializable object representing the point. This encoding is not memory-efficient, and should generally be used for debugging and testing.
Returns:
JSON-serializable object.
Inherited From: