GroundPolylineGeometry
A description of a polyline on terrain or 3D Tiles. Only to be used with GroundPolylinePrimitive.
const positions = Cartesian3.fromDegreesArray([
-112.1340164450331, 36.05494287836128,
-112.08821010582645, 36.097804071380715,
-112.13296079730024, 36.168769146801104
]);
const geometry = new GroundPolylineGeometry({
positions : positions
});
Content copied to clipboard
Parameters
options
Options with the following properties:
See also
Types
Properties
Link copied to clipboard
The type of path the polyline must follow. Valid options are ArcType.GEODESIC and ArcType.RHUMB.
Link copied to clipboard
The distance interval used for interpolating options.points. Zero indicates no interpolation. Default of 9999.0 allows centimeter accuracy with 32 bit floating point.