This adds mathematical lines to a scene. Their intersection with the current bounding box will be drawn.
Coordinates of points through which each line passes.
Coordinates of the direction vectors for the lines.
These functions draw the segment of a line that intersects the current bounding box of the scene using the parametrization (x, y, z) + (a, b, c) * s where s is a real number.
Any reasonable way of defining the
x, y, z and
a, b, c is acceptable.
See the function
A shape ID of the object is returned invisibly.
segments3d draws sections of lines that
do not adapt to the bounding box.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.