Options used when generating line geometry.
type LineOptions = {
offset: number = 0,
altitudeScale: number = 1,
flat: boolean = false,
ellipsoid: Ellipsoid | null = null,
resolution: number | null = null
}Properties
offset: number = 0
The offset of the generated geometry on the z axis.
altitudeScale: number = 1
A value to scale the GeoJSON-embedded altitude values by. The "offset" option value is not multiplied by this.
flat: boolean = false
If "true" then any altitude or z-values are ignored.
The ellipsoid to use to project the generated geometry onto a globe surface. If no ellipsoid is provided then no projection is done. The class need only be shaped like the one from the 3d-tiles-renderer project.
resolution: number | null = null
The spacing to use when resampling edges. Useful when projecting a geometry to an ellipsoid surface and more geometry detail is needed for the curvature. If set to "null" then no resampling is done.