I tried the full-form of Graphics3D and Region and couldn’t figure out what is the difference between the two.
Basically I want to understand what is the motivation to have two different ways to build 3D:
- Graphics3D[Sphere[]]
- Region[Sphere[]]
I tried the full-form of Graphics3D and Region and couldn’t figure out what is the difference between the two.
Basically I want to understand what is the motivation to have two different ways to build 3D:
Vijay:
Depending on what your goal is, the difference might just be semantics.
That said, Graphics3D[] represents an image that is composed of one or more primitives.
Region[] can be one of those primitives. For example, Graphics3D[Region[Sphere[]]] provides the same output as Graphics3D.
What is your use case?
In addition to Mike’s comments, a Region can be used in geometric computations, see the documentation.