Last updated

API / geotoolkit3d / scene / pointset / PointSet / SymbolGeometry

Class: SymbolGeometry

pointset.PointSet.SymbolGeometry

Enum of symbols.

The functions provided by this enum are responsible for loading/creating a Three.BufferGeometry that will be used to display a symbol in 3D.

Table of contents

Constructors
Accessors

Contents

Constructors

new SymbolGeometry()

new SymbolGeometry()

Accessors

Cube

Static get Cube(): () => BufferGeometry<NormalBufferAttributes>

A cube symbol

Returns

fn

▸ (): BufferGeometry<NormalBufferAttributes>

A cube symbol

Returns

BufferGeometry<NormalBufferAttributes>


Icosahedron

Static get Icosahedron(): (precision: number) => BufferGeometry<NormalBufferAttributes>

An icosahedron/sphere symbol using an icosahedron geometry. Can be used as an icosahedron with precision = 0, or as a high quality sphere at precision >= 12.

Returns

fn

▸ (precision): BufferGeometry<NormalBufferAttributes>

An icosahedron/sphere symbol using an icosahedron geometry. Can be used as an icosahedron with precision = 0, or as a high quality sphere at precision >= 12.

Parameters
Name Type
precisionnumber
Returns

BufferGeometry<NormalBufferAttributes>


Pyramid

Static get Pyramid(): () => BufferGeometry<NormalBufferAttributes>

A pyramid symbol

Returns

fn

▸ (): BufferGeometry<NormalBufferAttributes>

A pyramid symbol

Returns

BufferGeometry<NormalBufferAttributes>


Sphere

Static get Sphere(): (precision: number) => BufferGeometry<NormalBufferAttributes>

A sphere symbol using an UV sphere geometry.

Returns

fn

▸ (precision): BufferGeometry<NormalBufferAttributes>

A sphere symbol using an UV sphere geometry.

Parameters
Name Type
precisionnumber
Returns

BufferGeometry<NormalBufferAttributes>