CesiumGS/cesium

Document classes implementing the `GeometryFactory` interface

Open

#12.827 aperta il 21 ago 2025

Vedi su GitHub
 (8 commenti) (0 reazioni) (1 assegnatario)JavaScript (3324 fork)batch import
category - docgood first issuetype - cleanup

Metriche repository

Star
 (11.758 star)
Metriche merge PR
 (Merge medio 26g 3h) (26 PR mergiate in 30 g)

Descrizione

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.

Guida contributor