LuciadRIA stores vector data in a FeatureModel
.
A FeatureModel
stores Feature
instances, which consist of:

The shape or geometry of the object

Properties for the object

An optional ID
//First create the geometry of the city,
//using the createPoint method of the ShapeFactory module
const reference = getReference("CRS:84");
const location = createPoint(reference, [50.8798, 4.7005]);
//Create the Feature with the geometry and some properties
const city = new Feature(location, {
name: "Leuven",
country: "Belgium"
});
Supported geometries
The table below is an overview of all supported geometries or shapes.
You must create Shape
instances using the factory methods in the ShapeFactory
module.
Shape  Description  Instantiated with 

Point 
A single point 

Polyline 
A single line, consisting of connected points 

Polygon 
A single closed area, defined by a set of points 

Complex polygon 
A polygon with holes, consisting of one polygon defining the outer edge and other polygons defining the holes 

Circle by Center Point 
Defined by a center point and a radius 

Circle by 3 Points 
Defined by three points on the circumference 

Circular Arc By Center Point 
Defined by a center point, radius, start azimuthal angle, and sweep azimuthal angle 

Circular Arc by 3 points 
Defined by a start point, intermediate point, and end point 

Circular Arc by Bulge 
Defined by two points and a bulge 

Elliptical arc 
Defined by an ellipse, start azimuthal angle, and sweep azimuthal angle 

Arc band 
An arc band, defined by a center point, minimum and maximum range, start azimuthal angle, and arc azimuthal angle 

Sector 
An arc band where the minimum range is 0 

GeoBuffer 
An area around a given shape, adding a fixed width to the shape 

Extruded shape 
A 3D volume created by extruding a 2D line or area with a minimum and maximum height 

Shape list 
Composite shapes 

Bounds 
A 3D axisaligned box 
