The object can be a line, arc, circle, ellipse, or a 2D or 3D polyline.
The mesh is extended from the start point to the endpoint of the direction vector.