generateTrajectory
fun generateTrajectory(segments: List<TrajectorySegment>, temporalMarkers: List<TemporalMarker>, displacementMarkers: List<DisplacementMarker>, spatialMarkers: List<SpatialMarker>): Trajectory
Generates a trajectory.