Questions tagged [geometry]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
241 views

Volume of solids of revolution through two equations [duplicate]

I would like to get the area formed by two equations and the volume of the solid formed by this area around the Y axis. Solve[x^2==6x-2x^2,x] {{x->0},{x->2}} <...
2
votes
2answers
270 views

Finding Vertices of a Polygonal Region

I am trying to get a vertex list for a polygonal region made from the RegionDifference of two Polygons, and I am unsure of how ...
5
votes
1answer
399 views

Find normal vector of path

I created a path: ...
2
votes
1answer
335 views

How to Export to/Import from GeoGebra?

I'd like convert geometric figures between Mathematica and GeoGebra. Does anyone know how to do that?
0
votes
0answers
53 views

Surface area of an Ellipsoid [duplicate]

How do I compute the Surface area of an Ellipsoid? I tried this piece of code but the result is wrong ...
5
votes
0answers
85 views

Need help understanding weird RegionUnion behavior

I'm trying to understand some weird behaviors of RegionUnion in a small piece of code. In particular, RegionUnion is not ...
8
votes
3answers
248 views

How to extract data points from two graphics and find the intersections between them?

I am working on a mathematical problem called "Buffon's Needle". Here is the setup I made: ...
4
votes
1answer
416 views

Constructing graph of points in 3D with edges weighted by distance

I have a set of data in $\mathbf{R}^3$ for which I want to construct a $k$-nearest-neighbors graph whose edges are weighted by the distance of each point to its neighbors. Is there a way to do this ...
0
votes
0answers
97 views

Intersection of ellipsoids with planes sometimes not working!

I am trying to find the intersection of an ellipsoid and a plane and I am getting strange results.... Sometimes it works and some others it does not. ...
0
votes
0answers
62 views

barycentric cordinates on 2d triangle [duplicate]

( I am 100% new to mathematica and I don't really understand if I am doing this correctly. I have some most code except the calculation of the color. I will do that once I know I am doing this ...
5
votes
1answer
565 views

Barycentric coordinates

I am 100% new to mathematica and I don't really understand if I am doing this correctly. I have some most code except the calculation of the color. I will do that once I know I am doing this correctly....
3
votes
1answer
187 views

Collision between a point and a square

Suppose we have a point of time laws: xP[t_] := 0.40 + 0.51 t; yP[t_] := 0.41 + 0.42 t; and a square with side: L := 2.01 ...
2
votes
3answers
151 views

Determination of radius based on data points

I have some data points: ...
2
votes
2answers
702 views

Finding the volume enclosed by two surfaces of revolution

I've come this far as to combine both functions in a graph: f = Plot[4 - x^2, {x, -10, 10}] g = Plot[-1 + 4 x, {x, -10, 10}] Show[g, f, PlotRange -> All] ...
5
votes
1answer
176 views

RegionMeasure is not accurate

I am using Mathematica 11.1.1.0, on a Mac. I have a list of 51 non-intersecting balls of radius 1. The total volume is easily computed exactly, $51\times 4\pi/3 \approx 213.6283004441$. Now suppose ...
5
votes
4answers
785 views

Plotting two circle and finding intersection point

I would like to generate two circle graphic below For the beginning step, I make first circle with center 0,0 and diameter of 100 mm following program below But, I feel confused when I will make ...
3
votes
1answer
674 views

Surface area of ellipsoid

I think this is a bug Area @ Ellipsoid[{0, 0, 0}, {1, 2, 3}] returns Infinity in Mathematica 11. Is there a way I can compute ...
8
votes
1answer
556 views

Minkowski sum with 2D and 3D geometries

I have searched for this but the only questions I've found are this, and a more closely related one. How can I compute and plot the Minkowski sum of geometric entities in both 2D and 3D? There are ...
3
votes
6answers
226 views

How to convert the Parallelogram into a Polygon

Suppose I have Parallelogram like Parallelogram[{1, 2}, {{3, 4}, {6, 3}}] I can convert it into a ...
2
votes
1answer
110 views

Is it possible to symbolically solve minimisation problem for N-dimensional vector?

I'm interested in the problem of finding the points that represents the distance between 2 lines in N-dimensional space (N >= 3). Assuming that line 1 has 2 points $A_1$ and $X_1$, and line 2 has 2 ...
2
votes
1answer
130 views

How can I find properties of conic section (center, vertices, foci, etc.)?

Is there a built-in function that can compute properties of conic section from its equation? For example, provided the equation $\ (x-3)^2/25+(y-4)^2/16=1$ is it possible to find its center, foci, ...
1
vote
0answers
91 views

Reflecting the trace of a polynomial about a vertical line [closed]

I am doing this question and up to $b$ and $c$ and I am wondering how I can reflect the graph, I managed to do part $a$. I know the equation for part $b$ is ...
0
votes
3answers
139 views

Calculating the area of a closed shape produced by ListLinePlot

I have the following data that are produced from experimental observations: ...
11
votes
2answers
376 views

How can I offset a curve from the given data points?

I am new to Mathematica programming. I have a question related to my work with this software. I have the data points below: ...
3
votes
1answer
148 views

How can I get one octant of a ball? [duplicate]

I tried to get a 1/8 of a filled sphere using the built-in function Ball. Someone has already asked a similar question years ago It seems like Mathematica still ...
7
votes
1answer
353 views

Geometry computations add-on for Mathematica?

I came across the problem of calculating the circumcenters of triangles symbolically within another algorithm (as well as possibly doing other similar geometry computations). I was hoping Mathematica ...
1
vote
1answer
184 views

Measure eccentricity of a polygon

I am trying to compute the eccentricity of a polygon in Mathematica. I see that I can do something similar with ComponentMeasurements, but I am not sure how to get ...
10
votes
1answer
118 views

What does the alignment error returned from FindGeometricTransform measure?

FindGeometricTransform returns "the alignment error together with the transformation function." How is the alignment error computed? I ask because if you iterate <...
10
votes
4answers
2k views

Inverted version of Sierpinski triangle

In Michael Trott's The Mathematic Guidebook for Graphics, Section 1.5.1, he first does this: ...
0
votes
1answer
158 views

use of GeoDistance on WGS84 spheroid

The reference WGS84 describes the Earth as oblate spheroid with semi-minor axis (radius to poles) of 6356.752 km and semi-major axis (radius to equator) of 6378.137 km. I am considering the distance ...
2
votes
2answers
158 views

Counting number of spheres that contain a point

I have created this set of spheres in Mathematica. The code I used to produced this is as follows: ...
0
votes
1answer
85 views

How to determine position of the end of circle with certain distance from datum (0,0) [closed]

I plotting my data points in mathematica below in my opinion, I can determine point A use circle equation r^2=x^2+y^2 because the datum (0,0) of "small circle" is fix coordinate. But for "big circle" ...
2
votes
1answer
371 views

Drawing the intersection point of two dynamic lines

I want to find the intersection point of two line segments determined by the position of four locators. ...
6
votes
2answers
265 views

Finding an ellipse tangent to a circle when its center and semi-minor axis are given

I'm doing a geometry study between a circle and an ellipse. After several attempts with Mathematica I had no choice but to use other software to obtain the values of the $r_x$, $\theta _1$ and $\...
0
votes
1answer
104 views

Discretize a Graphics3D object over a given 3D lattice

Is there a way to discretize a Graphics3D object using a regular lattice with a given lattice spacing. For example: ...
5
votes
1answer
170 views

What has changed in PolyhedronData in V11

As we saw in: Demonstration site CDF error correction question PolyhedronData has changed. I've failed to find any information about how the syntax changed in V11....
0
votes
1answer
85 views

Function that will generate a set of points satisfying certain geometric conditions [closed]

I need to write function, which given some n > 10 and a vector vec{a} in the xy-plane, that generates ...
2
votes
2answers
113 views

Solving drilling positions using Solve or Trigonometry

I'm working on a profile where I need to position defined points: $ x1 $, $ x2 $, and $ x3 $ With the code below I get these values using Approximate Functions Fit....
3
votes
1answer
582 views

How to calculate the center of mass of a cut sphere

I did a study in a CAD software (SolidWorks) to get the center of mass of a sphere that is cut at the bottom. Using trigonometry I was able to obtain the ratio of the diameter cut under the sphere to ...
25
votes
2answers
1k views

Generating Doyle spiral painting

I recently came across an interesting paining by Nicola Sutcliffe: This painting is actually related to Doyle spirals. From author's website: The central part of the picture shows the Doyle ...
3
votes
3answers
118 views

How to find points in a circle having specified Euclidean separations

I hope to find $4$ points in a circle. The side length constituted by those $4$ points is $1$, $2$, $3$ and $4$ in order. The image would be like this I think the side length should be proportional ...
13
votes
3answers
1k views

Make an offset curve (parallel curve)

I have a polynomial curve that I got through interpolation. ...
3
votes
2answers
234 views

Dynamic Graphic with a goniometric circumference, angle and tangent

I would like to make a circle with radius 1 with axeses showed. I would like to dynamically select a point on the circle, draw a line from that point to the center and draw the tangent line to that ...
1
vote
1answer
110 views

Speed up honeycomb display in a Manipulate expression

I have a square area with a background hexagonal tiling. When I click on a certain point of the area I want the hexagon placed there to show/hide. I've implemented it as follows: Calculate hexagon-...
6
votes
2answers
1k views

Fitting parametric Spiral Function to Data Points

How would I fit the following parametric function describing a spiral to a set of data points? spiral = t*{Cos[t + x], Sin[t + x]} x is the unknown parameter ...
6
votes
1answer
484 views

Boundary condition setup for the region defined with basic geometry

I have a region defined like this: ...
5
votes
0answers
234 views

Volume Deformation

I want to do a volume deformation based on Bezier volumes. For example, if I have a triangle mesh, then I want to deform the mesh into a weird shape like the example image attached here. Can anyone ...
1
vote
1answer
104 views

Equation involving a triangle

I am trying to solve the following problem: Question :In a Triangle,Sin∠A:Sin∠B:Sin∠C = ∠A:∠B:∠C,what's the specific value of ∠A,∠B,∠C? [How to prove A=B=C=π/3 is the only answer] This is what I ...
1
vote
2answers
96 views

Test regularity of Simplex

A simplex is regular if its all edges have the same length. How to test in Mathematica whether a Simplex is regular or not, without checking all the edges manually?...
0
votes
2answers
381 views

Equally spaced points on a great circle arc between 2 points

I have 2 points on a sphere, given by $(\theta, \phi)$. How can I find $n$ equally spaced points on the smaller arc of the great circle between them, without converting the coordinates to another ...

1
3 4
5
6 7
12