Questions tagged [polygons]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
64 views

Order of PolygonCoordinates[] is undefined in Mathematica 12?

Probably I am missing something fundamental. I try to get a polygon's ordered coordinates, but PolygonCoordinates[] yields something pretty unordered. Am I missing some essential function? ...
4
votes
0answers
114 views

When Graphics3D renders a Polygon with non planar points, how does it triangulate to two separate polygons?

If we try to make a Polygon with nonplanar points, the documentation says Non-planar polygons are accepted in Graphics3D and ...
3
votes
0answers
51 views
2
votes
0answers
34 views

PolygonCoordinates extract the submits in the “wrong” order

I don't understand why, in the example below, PolygonCoordinates seems unable to correctly extract the summits of a rectangle in the "right" order so we can ...
1
vote
0answers
18 views

Problem NIntegrating over 3D Polygon region with 4 points

I am trying to NIntegrate a non-planar polygonal region defined by 4 points, something like this: ...
1
vote
0answers
58 views

Combining MeshRegions of generated 3D shapes and RandomPolygons

I am interested in generating 3D a joint BoundaryMeshRegion or a MeshRegion from different shapes and polygons. This works for <...
1
vote
0answers
62 views

What's the meaning of rspec?

In the RegularPolygon page, I notice the reference RegularPolygon[{x,y},rspec,n]. What's the rspec?
1
vote
0answers
168 views

Handling Self-Intersecting Regions

I am trying to test various parametric regions of a function for membership of the origin (point {0,0}). I generate the boundary by creating four parametric boundary curves, and then use RegionMember ...
0
votes
0answers
47 views

Workaround for Opacity + Magnify bug in version 12?

Is there a workaround for the following bug in version 12.0.0. This is in MacOSX. ...
0
votes
0answers
43 views

Mapping a flat unit plane composed of polygons onto a cylinder

I'm looking to map a flat plane composed of triangles onto a cylinder, and then ultimately use a manipulate function to show the plane wrapping into a cylinder. Here is the code I have so far, I've ...
0
votes
0answers
68 views

Discrete Sum of Function over a Region

I might have completely missed something in my search. I want to discretely sum over a function, $f(x_i,y_j)$ multiplied by some other function $g$ over a general region $S$. $$\sum_{(x,y)\in S}f(x,...
0
votes
0answers
97 views

Graphics3D ignores EdgeForm

Works great: Graphics[{FaceForm[White], EdgeForm[AbsoluteThickness[10]], Polygon[{{0, 0}, {1, 0}, {0, 1}}]}] Ignores color and thickness: ...
0
votes
0answers
160 views

Drawing convex cone with given vectors

I have vectors in matrix form. By using Mathematica, I want to draw it as convex cone and intersect. Let me explain, my intent is to create a new cone which is created by intersection of a null spaced ...