Constructors include the function for constructing a trajectory object by using JSON-formatted strings or arrays and the function for appending trajectory points or a sub-trajectory to a trajectory object.