4
$\begingroup$

I would like to obtain the complete listing of built-in graphical objects (which can be used in Graphics or Graphics3D) available in Wolfram Language, split into several groups.

The first group should include basic graphical primitives such as Point, Line, HalfLine, Disk, DiskSegment, Annulus, StadiumShape, Cube, etc.

The second group should include such composite primitives as JoinedCurve and FilledCurve (I do not know other such composite primitives, but may be I missed some?).

The third group should include such symbols as GraphicsGroup and GraphicsComplex, which intended to represent collections of primitives.

The fourth group should include such symbols as GeometricTransformation, Rotate and Translate, which intended to apply some geometric transformations to collections of primitives.

The fifth group should include symbols related to dynamic interactivity such as Dynamic, Tooltip, Mouseover, etc.

For each symbol I would like to obtain the following properties:

  1. Corresponding box form symbol (if it is different for 2D and 3D graphics, I wish to list both).
  2. Is it intended to be used in Graphics, Graphics3D, or both?

How can I do this programmatically (using the Entity framework or by other means)? I'm most interested in the first two groups.


The following question is strongly related, but the answers to it do not fully answer the question posed:

$\endgroup$
  • $\begingroup$ for the first one WolframLanguageData[ EntityClass["WolframLanguageSymbol", "FunctionalityAreas" -> ContainsAll[{"GraphicsPrimitiveSymbols"}]]]? $\endgroup$ – kglr Nov 7 '19 at 11:04
  • $\begingroup$ and for the second thru fourth WolframLanguageData[ EntityClass["WolframLanguageSymbol", "FunctionalityAreas" -> ContainsAll[{"GraphicsSymbols"}]]]? $\endgroup$ – kglr Nov 7 '19 at 11:06
  • 2
    $\begingroup$ @kglr It is surprizing, but your fist code doesn't return Point, Line, Polygon, Disk and some other basic primitives... $\endgroup$ – Alexey Popkov Nov 7 '19 at 11:59
  • $\begingroup$ @kglr Your second code returns (for the most part) a list of options related to graphic functions, not the primitives themselves. $\endgroup$ – Alexey Popkov Nov 7 '19 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.