Message Boards Message Boards

GROUPS:

DiscretizeRegion

Posted 6 years ago
2890 Views
|
1 Reply
|
0 Total Likes
|

The DiscretizeRegion function works for the cone below. sr = ParametricRegion[{h Cos[x], h Sin[x], h}, {{x, 0, 2 [Pi]}, {h, 0, 3}}]; DiscretizeRegion[sr]

However, does not work for the cylinder below. Does anyone have any tips? sr1 = ParametricRegion[{2 Cos[x], 2 Sin[x], h}, {{x, 0, 2 [Pi]}, {h, 0, 3}}]; DiscretizeRegion[sr1] DiscretizeRegion::drf: DiscretizeRegion was unable to discretize the region ParametricRegion[<<2>>]. >> Sincerely, Sinval

Attachments:

DiscretizeRegion has many shortcomings. At the moment (Mma 10.2) it fails even for some plain spheres, as in

DiscretizeRegion[Sphere[{2, 0, 0}, 1/2]]

Let's hope it improves with later versions.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract