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
40 views

Find the height(h) of a Circular segment based on Radius and Length(c) [on hold]

I have found the formula for calculating the R of a circle, based on a circular segment, which is; R=h/2+c^2/(8h) Where, R is ...
-1
votes
0answers
22 views

Distance between a circle and a line [migrated]

Find the distance between the circle $(x-3)^2+(y+2)^2=4$ and the line $x + 2y = 9$.
3
votes
1answer
55 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
84 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
128 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: ...
0
votes
0answers
14 views

Solve the Angle [migrated]

My background in Trigonometry and Geometry is very basic. I am doing a a study and need to work out the angle of a wire; I would also like to know it relative to vertical. I have attached a basic ...
2
votes
1answer
131 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" ...
14
votes
0answers
130 views

Bug in RegionMember?

RegionMember (new in V10) appears to have a bug. For some polygons it finds points that are clearly outside to be "members" of the region. This depends on the shape ...
3
votes
1answer
101 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 ...
14
votes
2answers
270 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 ...
1
vote
0answers
70 views

Intersecting ellipsoids

First of all I know that findng whether two ellispoids intersect is complicated and there are specific algorithms created for this purpose (see, for instance, [1]. Actually, I am trying to follow this ...
2
votes
0answers
66 views

Wolfram alpha algorithm for geometric packing in 2D [closed]

Is there any way to gain access to the algorithm that wolfram alpha uses? More specifically, I want to pack small circles in hex and square patters in a larger cicle ...
2
votes
2answers
171 views

intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
1
vote
0answers
79 views

Intersection of two volumes

I would like to know the volume of the intersection of a cone and a cuboid : ...
4
votes
1answer
100 views

Tell if a point is inside a FilledCurve

Convert a letter into a FilledCurve: ...
1
vote
3answers
102 views

How do I tell if two sets of dots are in some way similar?

I have two sets of dots (x,y coordinates) and I'd like to figure out if there's a way to find out if the second set of dots is (more or less) "close" to the first one. I may plot these two sets in ...
1
vote
0answers
74 views

Easy way to get the boundary of a geometric object [closed]

I am trying to define von Neumann boundary conditions for a prism. To do so I need the boundary of the geometric object. I can't seem to find an easy way to do this. I have tried to hard code a ...
5
votes
1answer
96 views

Minimal perimeter of all possible polygons

We had a fun problem for a student activity today: Let $P(z) = z^8 + \left(4\sqrt{3} + 6\right)z^4 - \left(4\sqrt{3} + 7\right)$. What is the minimum perimeter among all the $8$-sided polygons in the ...
0
votes
1answer
75 views

How do I create a function to rotate a rectangle about its origin? [closed]

I am new to Mathematica and was trying some new things. I wanted to rotate a rectangle using a rotation matrix by any angle theta from say o to 2pi. I could do it using predefined Mathematica ...
5
votes
3answers
153 views

Simple triangular meshes of primitive shapes

I'd like to generate triangular meshes or a cylinder and sphere primitives as part of a lattice meshing program I am writing to experiment with Mathematica. Consider the following snippet: ...
3
votes
3answers
326 views

intersection between polygon. Algorithm to check it [closed]

I'm working on an algorithm which should check if two polygons, described by their vertex coordinates, are: one inside the other, are intersecting or are separated image below describe this three ...
2
votes
0answers
110 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
1
vote
0answers
35 views

Creating a triangle from the difference of two points [closed]

I'm attempting to create a triangular area from the difference of two points. I basically have a straight line that could be the length of 1. I would like to create points on both of the sides of the ...
1
vote
0answers
91 views

How to plot several small circles in a bigger circle [closed]

I want to plot several small circles in a bigger one with constraint minimization. The distance between any two small circles must be >= to 2*the radius in order not to enter one another. When I ...
3
votes
1answer
68 views

How to determine the value of an angle starting from an image? [duplicate]

I have two lines drawn with Mathematica, how do I calculate the angle between these two lines to have the numeric value of that angle? Thank you
1
vote
2answers
166 views
0
votes
0answers
33 views

How to put n circles on a sphere [duplicate]

I have a piece of code that generates a circle on a sphere, but the problem is, this code creates only one circle. How can I change it in order to create n circles on the same sphere? Do I have to put ...
4
votes
4answers
328 views

Picking points in a plane under a curve given by a list

Suppose that I have a set of points in a plane, which range from $x\in [0,20]$ and $y\in[0,10]$, and a curve given by a list of points in the same region: ...
7
votes
2answers
141 views

How do I get ConvexHullMesh to return polygons instead of triangle as surface mesh?

I would need to identify the types of regular polygons forming the surface of a convex hull of 3D points. If I e.g. take the following example of a regular polyhedron ...
1
vote
1answer
77 views

How can I plot a sector of an ellipse using the central angle and not the Eccentric Anomaly?

It would appear that the Disk function, when asked to produce the sector of an ellipse between two angles treats those angles as Eccentric Anomalies (i.e. arguments ...
12
votes
0answers
316 views

Circle with negative radius?

Why does this work: Graphics[{Circle[{0, 0}, -Pi/4]}] But this doesn't? Graphics[{Circle[{0, 0}, N[-Pi/4]]}] Telling me: ...
5
votes
3answers
251 views

Rotating a circle about a larger circle

I've got some wonderful answers this morning on Mathematica Stack Exchange. See Diagonals of a regular octagon and Determine the height of a box packed with spheres. I'm just smiling with the amount I ...
10
votes
2answers
379 views

Determine height of box packed with spheres

I got such a wonderful answer regarding The Diagonals of a Regular Octagon, so I thought I'd try asking another question we had on our Pizza and Problem quiz activity at College of the Redwoods. The ...
6
votes
2answers
224 views

Diagonals of a regular octagon

We had a little activity after school today and one of the questions was: All diagonals are drawn in a regular octagon. At how many distinct points in the interior of the octagon (not on the ...
11
votes
2answers
304 views

How to make geometric intersection faster for geographic borders?

I have developed a solution to identify geographic regions bordering a region in this post (94723). Can this functionality be made to execute any faster? Find which entities in a set border other ...
1
vote
1answer
91 views

Recursive calculation is very slow

I've got a recursive definition of Arcs that shares equal length and a several other dependencies to each respective predecessor. (Imagine a book being bent.) I formulated all necessary things here: ...
13
votes
4answers
219 views

Administrative Divisions bordering a geographic region (e.g. an ocean)

Update 3 I've worked out a solution that is bearable for a small number of subregions in the neighbour and added it as an answer. I'm going to make a post for optimisation help. Update 2 For a ...
2
votes
2answers
184 views

How do I rotate a curve?

I have a circular segment defined as: ParametricPlot[5 {Sin[ϕ], 1 - Cos[ϕ]}, {ϕ, -0.2, 0.8}, PlotRange -> All] which I have to rotate around point ...
5
votes
4answers
435 views

Minimal overlap area of circles

I have 20 points in the 2D plane with $(x_i,y_i)$ coordinates. I want to use Mathematica to optimally distribute 10 circles with equal radius of a given positive value $R$, i.e. to determine with the ...
3
votes
1answer
62 views

Area of a surface spanned by 2 parametric curves

I would like to find the area of a surface spanned by two parametric curves in 3D. I came up with this metric for distance between curves. The illustrations are in 2D for simplicity. ...
1
vote
0answers
55 views

Equilateral triangulation of a polyfile-defined surface

I would like to be able to make a (low fidelity) triangulation of a given surface with constant edge lengths (using equilateral triangles). This requirement limits the Gaussian curvature at each ...
4
votes
3answers
152 views

Reflect point over a line in 3D

I'd like to sample points on a triangle randomly. The following code yields points that are uniformly distributed on a quadrilateral: ...
1
vote
1answer
90 views

Create region from set of lines and arcs [duplicate]

I have a shape that is a knuckle plate with two holes cut in it, thus: ...
2
votes
3answers
104 views

Create region from polygons and tangential line segments

I have two circles and tangential line segments that I want to define a region: ...
6
votes
9answers
609 views

Plotting a sequence of isosceles triangles of diminishing size

I try to plot the following graph using Graphics and Table. The graph consists of infinitely many isosceles triangles (without ...
-2
votes
1answer
69 views

Distance of a point from a line using multiplicative distance [closed]

How can we determine the multiplicative distance (http://link.springer.com/article/10.1007/s10115-014-0813-4#page-1) of a point (x0,y0) from a line (ax+by+c=0)? Let X = (x_1, x_2 ..., x_m) be a ...
4
votes
3answers
165 views

How to find points along the inner and outer edge of a ring along a specific direction

I have a set of random numbers distributed on a annular disk. I want to find points on the inner and outer edge along a particular angle. One possibility is to use ...
0
votes
1answer
124 views

4D rotations of 600-cell to make cell centered stereographic projection

I have made a 600-cell wireframe model from Eric Weinsteins' 2/13/14 600-cell notebook (600-cell: a regular polytope, 4D, analogous to the icosahedron, with 600 tetrahedral cells, 120 vertices, 720 ...
4
votes
2answers
181 views

How to obtain the area enclosed by such a curve?

The desired curve is defined as curve02 below : ...
0
votes
0answers
37 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...