Definitions of the 3D primitives: point, line, polygon, cuboid. To draw the primitives one can use the function Show[Graphics[ primitive].
Primitive | Graphical object |
Point[ {x,y,z}] | Defines a space point with co-ordinates {x,y,z} |
Line [{ {x1,y1,z1},{x2,y2,z2},...}] | Defines a space a 3D broken line |
Polygon[{ {x1,y1,z1},{x2,y2,z2},...}] | Defines a space polygon with co-ordinates of vertices {x1,y1,z1},{x2,y2,z2}, ... |
Cuboid [{xmin, ymin,zmin}, {xmax, ymax,zmax}] | Defines a parallelipiped by two oposite vertices. |