CesiumGS/cesium

Document classes implementing the `GeometryFactory` interface

Aberta

#12.827 aberto em 21 de ago. de 2025

 (8 comentários) (0 reação) (1 responsável)JavaScript (3.324 forks)batch import
FCFcategory - docgood first issuetype - cleanup

Métricas do repositório

Stars
 (11.758 estrelas)
Métricas de merge de PR
 (Mesclagem média 15d 12h) (23 fundiu PRs em 30d)

Description

The GeometryFactory type is defined as if it was meant to be describing an interface. But no other class is listed as implementing the interface, so a reader of the docs has no way of knowing what classes are acceptable for use in (for example) the GeometryInstance constructor.

See this older comment for some discussion on the original intent of the GeometryFactory interface.

See https://github.com/CesiumGS/cesium/issues/12826 for an example of where a better doc for GeometryFactor could have helped avoid confusion.

Guia do colaborador