Questions on the application of Mathematica to geometric problems. You might also consider adding the [graphics] tag, if appropriate.

learn more… | top users | synonyms

0
votes
0answers
9 views

Having a 2D Parametric Function Wrap Around a Geometric Region

I am trying to study curves on the flat torus (the unit square where opposite edges are identified with each other) and I was wondering if there is a simple way for me to take a parametric curve that ...
3
votes
1answer
48 views

Showing a polygon in Mathematica

Could anyone be able to construct two shapes, a $n$-gon $P$ and a regular $n$-gon $Q$, say $n=5$?
3
votes
5answers
166 views

Intersection coordinates of two spheres

I am trying to obtain a list of coordinates at which two spheres intersect. Take for example the spheres: sp1=Sphere[{0, 0, 0}, 1] and ...
6
votes
3answers
109 views

Inflate and unite a list of 0D to 2D regions

I've got a List of BoundaryMeshRegions, created via ConvexHullMesh: ...
3
votes
1answer
117 views

Find biggest Circle having all points close to a List of Polygons

Setting Imagine a List of polygons polys (type: BoundaryMeshRegion, polygons may also overlap): ...
1
vote
0answers
48 views

ConvexHullMesh fails for collinear points

I've got a List of PointLists, of which some contain only collinear points. I now want to obtain all ConvexHullMeshes of my PointLists. For more than two ...
4
votes
2answers
81 views

Union of a List of ConvexHullMesh

How can I create a Union of a List of several ConvexHullMesh? My List is of variable length and the containing BoundaryMeshRegions may overlap. I want to create ...
1
vote
1answer
130 views

How to calculate the probability exactly

I random chioce three points from unit disk.I want to calculate the probability exactly that they circumcircle is contained within the unit disk still.Of curse,we can use the Monte Carlo to estimate ...
3
votes
1answer
151 views

Projecting a Graphics3D object onto a plane

I would like to project a 3-dimensional cone onto a plane and mark the intersection (which is an ellipse) with a line. I find cone2 by performing a transformation ...
0
votes
2answers
67 views

Obtaining arc from a DXF file

I have a DXF file that contains an arc. I did the procedure to import a DXF file and generate a Graphics3D as below: ...
1
vote
1answer
80 views

RegionPlot with rank constraint

I am trying to plot the feasible region of a rank constrained semidefinite program shown below: The Mathematica code that I am using is the following: ...
1
vote
1answer
120 views

The new introduced EulerMatrix problem

In the present version of Mathematica, there is a new command EulerMatrix[{α, β, γ}])// MatrixForm I read its document and I still don't understand it. For me, ...
1
vote
3answers
165 views

Solving my graduation exam geometry problems with Mathematica [closed]

How capable is Mathematica when it comes to typical school geometry problems? Is there a way to throw constraints at it and get it to spit out a solution? Here are two geometry problems from my ...
4
votes
1answer
122 views

Getting Area of a region transformed by GeometricTransformation

I tried this: Clear[b1, b2, A, p] b1 = {-1, 1}; b2 = {1, 1}; A = {{2, 1}, {-1, 1}}; p = Parallelogram[{0, 0}, {b1, b2}]; Then drew this: ...
10
votes
7answers
564 views

how to get $n$ equidistributed points on the unit sphere

We can get $n$ equidistributed points in the unit circle using CirclePoints. But how do you get $n$ equidistributed points on the unit sphere(surface of a ball)? ...
1
vote
2answers
149 views

Distance between rectangle and parametric curve

Given a 2D parametric curve $(x(s), y(s))$ and a rectangle where each of the four vertices is parameterized $(x_i(t), y_i(t))$, $i \in \{1,2,3,4\}$, how can Mathematica compute the distance function $...
1
vote
2answers
149 views

Displaying Dandelin spheres touching hyperbola boundary patches in cone

Can we show the Dandelin spheres scenario (shown by Hrhm for case of ellipse) for a hyperbola as well? I'm not happy with what we get to see of this on the net. The double nappe/sheet of a cone is ...
-1
votes
2answers
164 views

Selecting points inside a closed curve

Let's create a rather dense grid of initial conditions ...
1
vote
1answer
76 views

How can I reflect a graphic across a line? [closed]

I would like to make an animation that shows where a graphic (square, circle etc) would be after it is reflected over a line. Thanks
1
vote
1answer
171 views

Finding distance between a point and a plane

I was tasked with finding a distance between a plane of the form $ax+by+cz +d=0$ and a point say $(a,b)$. Now I know a way to show a plane in Mathematica is with ...
0
votes
1answer
84 views

Intersection of two circles

I have two circles that intersect at point A, as shown in the image: The first figure shows the circle center greater (${125,0}$) in its initial position. The second figure shows the circle center ...
1
vote
1answer
80 views

Issue formulating RegionPlot3D to visualize RegionIntersection

Description I am looking to visualize gas cloud growth within custom modules. For demonstration purpose, it is assumed gas cloud takes a spherical shape whilst module is defined using a ...
0
votes
1answer
46 views

Scale size PolyhedronData

How can I plot a truncated cube with size (sqrt(2)-1)? The code I am using is simply PolyhedronData["TruncatedCube"]
-5
votes
1answer
43 views

Calculating the top left corner in a 2d field [closed]

Given I have a field with several rectangles like shown in the picture. A point with its x and y coordinates are given. The height(h) and the width(w) are also given. How can I calculate the top left ...
2
votes
2answers
358 views

Draw a circle through 4 points on parabola [closed]

I have two dynamic perpendicular parabolas: $y=ax^2+c, x=by^2+d$, which intersect in four points (the coefficients are chosen that way). There is a fact that we can construct a circle through these ...
7
votes
1answer
224 views

Rigid Rotation of a Point Cloud

If I have a group of points that are aligned along some vector. For example: ...
2
votes
1answer
74 views

Plotting a manifold within an existing surface

I have a dynamical system $\textbf{x}'=\textbf{f(x)}$ where $x\in \mathbb{R}^4$. However, $x_1 +x_2 +x_3 + x_4 =1$ and $0\leq x_i \leq 1$ for $i = 1,2,3,4$, meaning the system lives on the Tetrahedron....
1
vote
1answer
79 views

How Can I plot two concentric circles with a polygon inscribed in one and circumscribed about the other however I want the polygon to manipulated

So this code is to plot two concentric circles with a polygon inscribed in one and circumscribed about the other: ...
1
vote
2answers
68 views

Selecting points in list that are inside a contour [duplicate]

I have a list of points which form a closed (connected) contour or path in two dimensions. I would like to get all points from a second list which satisfy the requirement that they are inside the ...
2
votes
3answers
173 views

Distance from point to line [duplicate]

I'm a newbie with Mathematica and I managed to draw a line and a point in 3D on a graph ...
0
votes
0answers
47 views

Check if interpolated function passes through a specified region

Is there an efficient way to check if a curve that was obtained as an Interpolating Function (from solving differential equations numerically) passes through a given region? I am solving for two ...
1
vote
2answers
132 views

How can I plot two concentric circles with a polygon inscribed in one and circumscribed about the other

So I am new to Mathematica still learning basic codes.. However I need help to become quicker in my research. Can anyone help me with the simplicit code to plot 2 concentric circles and a polygon of ...
1
vote
1answer
94 views

Plot a line passing through two given points in 3D space

How can I plot straight line passing through two given points in 3D coordinates? For example, given the points M1: (2, -2, 0) and M2: (1, -3, -5) ...
2
votes
0answers
116 views

Plotting Seifert surfaces

Is it possible to make a Seifert surface in Mathematica, such as a Seifert surface for a trefoil knot? I was thinking of taking the parametrization equations for a trefoil knot and then somehow ...
0
votes
1answer
81 views

Geodesic circle on a pseudosphere

I am trying to 3D print a portion of the pseudosphere, whose edge is geodesic circle. To do so, I plotted a region of the pseudosphere with the geodesics emanating from a point and I got this: The ...
-2
votes
3answers
129 views

Constructing an Equilateral Triangle Inscribed Inside a Circle

How to plot something like this? I need only the triangle and the 3 circles green. Thank you!
4
votes
2answers
124 views

Arc length parameterization of a list of points?

Suppose I have a curve represented by a list of points in the form $\{\{x_0, y_0\}, \{x_1, y_1\}, ...\}$. How to generate a list of numbers $\{s_0, s_1, ...\}$ where $s_i$ is the distance of ith point ...
0
votes
3answers
40 views

A shift of a trapezoid and a connect to the original

I have: Graphics[{ Line[{{0, 0}, {30, 0}, {55, 50}, {-25, 50}, {0, 0}}] }] Now, I'd like to keep it in place, then shift a copy up and to the right, then ...
18
votes
5answers
481 views

Is there a numerical method/built-in to calculate the boundary of a set of graphs?

Recently, I encounted a geometry problem in my work. For a curve-family that owns the following parametric equation: $$E(t,\theta)= \begin{pmatrix} x_E(t,\theta) \\ y_E(t,\theta) \end{pmatrix}$$ ...
11
votes
1answer
158 views

How to make a two letter monogram in 3d like the one on www.mymo.is? [duplicate]

I want to achieve the same effect like the project on http://www.mymo.is/. By taking two letters and combine them in 3d, you can get a complex shape that looks like one letter on the one side and the ...
9
votes
1answer
793 views

Max & min distance between two moving points

I am trying to find the minimal and maximum distance between two moving points with Mathematica in an interval. For example, ...
11
votes
6answers
305 views

Probability of a random point inside the intersection of two triangles

I hope I can explain this problem clearly. It has been bothering me for sometime and I do not know how to solve it even with Mathematica's help. I finally stumbled upon an idea, see my answer below. ...
0
votes
0answers
45 views

How to apply a shear matrix?

I have curves that I made to create a design using graphics[], and I wanted to apply a shear to this. I know/think that a shear comes in the {1,lambda}{0,1} form, and that I'm supposed to my multiply ...
3
votes
1answer
105 views

Angle between two vectors in spherical coordinates [closed]

I have two vectors: H = {1, 0, π/4}; EA = {1, 0, 0}; Which I want to be in {r, Phi, Theta} - which would should give an angle between the two vectors as ...
1
vote
1answer
143 views

Draw Vectors in Spherical Shell and then Animate

I want to draw three vectors inside a spherical shell. One of the vectors will be moving, the others will be stationary. However, the animation is the next step. For now, I would like to get the ...
2
votes
2answers
150 views

HIghlight intersection of two disks [duplicate]

I tried this: reg1 = Disk[{0, 0}, 1]; reg2 = Disk[{1, 0}, 1]; reg3 = RegionIntersection[reg1, reg2]; Then this: ...
4
votes
1answer
212 views

geodesics' on torus

Is it possible to draw geodesics between the points in a path on a torus - toroidal surface? geodesics: generalization of the notion of a "straight line" to "curved spaces" ...
16
votes
0answers
177 views

Bug in RegionMember?

Bug persisting through 10.4.1 RegionMember (new in V10) appears to have a bug. For some polygons it finds points that are clearly outside to be "members" of the ...
3
votes
1answer
108 views

hippocrates moons for any shape

Can someone help me create code for a hippocrates moons on random shape with given amount of edges? I want to make something like this: when you press button, it asks you for the amount of edges/...
15
votes
2answers
376 views

How to export textures?

Is there any object geometry format for which Mathematica supports the exporting of textures for external (non-Mathematica) use ? If not does anyone know of work arounds? All the texture primitives ...