Message Boards Message Boards

0
|
4139 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

DiscretizeRegion

Posted 9 years ago

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:
POSTED BY: Sinval Santos

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.

POSTED BY: Gianluca Gorni
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