23
$\begingroup$

I stumbled across a function called PointForm but the only documentation I can find is the pop-up line offered by autocomplete, which contains the same information as Information[PointForm]:

enter image description here

What does this mean and how does it work?

$\endgroup$
3
  • 7
    $\begingroup$ Graphics3D[{PointForm[Sphere[]], Point[{{0, 0, 0}, {5, 5, 5}}]}] gives "PointForm is not a 3D graphics primitive or directive". Also, apparently it has been there at least since version 7. $\endgroup$
    – Szabolcs
    Commented Jan 22, 2013 at 15:43
  • $\begingroup$ Hum, quite a number of symbols reported by ?*Form are internal. I bet they are generated internally by built-ins for the front-end. $\endgroup$
    – carlosayam
    Commented Jan 22, 2013 at 18:40
  • 2
    $\begingroup$ @Szabolcs It has been there as early as 1994. See this posting $\endgroup$ Commented May 10, 2013 at 21:09

1 Answer 1

2
$\begingroup$

I don't know how to use PointForm; however, if you want spheres for points:

pts = {{0, 0, 0}, {2.5, 2.5, 2.5}, {5, 5, 5}};

Graphics3D[Sphere[pts, .3]]

or

Graphics3D[Sphere[#, .3] & /@ pts]
$\endgroup$
1
  • $\begingroup$ Or Graphics3D[Translate[Sphere[], pts]] which readily generalizes to other shapes than spheres. $\endgroup$
    – Szabolcs
    Commented Feb 18, 2014 at 5:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.