LineSet
A set of line segments.
Attribute Locations
-
Vertices
puts attribute values on the vertices. -
Primitives
puts attribute values on the line segments.
Fields
origin
: 3D vector- Origin of the lines relative to the project coordinate reference system.
segments
:Array
- Array with
Segment
type storing each segment as a pair of indices intovertices
. vertices
:Array
-
Array with
Vertex
type storing the vertex locations.Add
origin
and the project origin to get the locations relative to the project coordinate reference system.
Schema
{
"type": "object",
"required": [
"segments",
"type",
"vertices"
],
"properties": {
"origin": {
"type": "array",
"items": {
"type": "number",
"format": "double"
},
"maxItems": 3,
"minItems": 3
},
"segments": {
"$ref": "#/definitions/Array"
},
"type": {
"type": "string",
"enum": [
"LineSet"
]
},
"vertices": {
"$ref": "#/definitions/Array"
}
}
}