Questions tagged [intersection]

Questions on finding intersections of geometric objects: lines, planes, regions etc. with possible aid of ContourPlot, Interval, InfinitePlane and others.

Filter by
Sorted by
Tagged with
2
votes
2answers
154 views

How to plot a point in the intersection of two functions?

I'm trying to plot the intersection of a Sum function with a horizontal line and automatically highlight the intersection points. The code below shows my knowledge of Mathematica and for different ...
3
votes
1answer
59 views

intersection between box and convex set

I have a task to make an intersection between the convex set and the box , the equation describing the convex set is r1r2r3 - r1 -r2 - r3 + 2 cos(phi) > 0, phi = 45 ,and I plot it using p2 = ...
1
vote
0answers
38 views

Finding the shared edged between two polygons

Imagine I have two convex polygons pol1 and pol2 with a shared edge. Take, as an example, ...
3
votes
2answers
148 views

Find intersection points between ParametricRegion and other curves

How do you instruct Mathematica to return intersection points between curves as numerical values, when using ParametricRegion to represent at least one of the ...
9
votes
0answers
110 views

Mysterious Intersection on Association

I have try to do an intersection on list of associations and the result is astonishing. Here an example: ...
4
votes
2answers
161 views

Finding all intersection point between two time series

I've the following time series in smoothedData: ...
1
vote
0answers
40 views

Determine if intersection of Polygon and HalfLine is non-empty

I have a concrete example: ...
0
votes
0answers
70 views

Circular graph construction to minimize overlaps

I wish to create a set of circular graphs with 23 vertices. An example is shown below: This may be constructed by taking, for example, a random sample of the range: ...
1
vote
0answers
39 views

How to speedup RegionIntersection?

Consider a circle circle located at the origin of a coordinate frame and with a radius ROffAxisArb (it is parametrized by two ...
1
vote
1answer
77 views

How to Add Vertical Line and Intersection in Manipulate-Plot-Row Diagram

I would like to represent i) the K^s value as a vertical line in the right diagram and ii) identify the intersection of the vertical line with the downward-sloping curve with "E" (as well as ...
0
votes
1answer
84 views

How to generate randomly points that belong to the given range?

Consider some rectangle called ExperimentLocation, and a circle ParticleAzimuthalCoverage: ...
1
vote
1answer
99 views

How to find the intersection points of two 3D surfaces in Mathematica?

I have two equations consisting of two variables and I'm plotting those two functions in 3D by defining the range of the two variables. I need to find the points of intersection of these two functions....
3
votes
2answers
95 views

A condition for one domain to be included in another domain?

Consider two domains: domain1 = Rectangle[{-2.5, -2.5}, {2.5, 2.5}]; domain2[R_] := Disk[{0, 0}, R] I would like to check whether the second domain is completely ...
2
votes
1answer
82 views

How to find the area of circle inside the rectangle?

Consider a circle located at the origin circ[R_] := Circle[{0,0},R] and an arbitrary rectangle ...
4
votes
2answers
148 views

How do you turn a normal intersection to a strict one for arbitrary number of sets?

What is the best way to generalize the following interaction of 3 sets to any number of sets: ...
2
votes
2answers
69 views

RegionIntersection: extra intersections

I have got an array of points, which can be represented as a ListLinePlot. Then I am trying to find the number of intersections of this ListLinePlot with a certain line. Obviously, in the demonstrated ...
1
vote
0answers
42 views

How to determine the domain (intersection and disjoint set) of two functions define on a set? [closed]

Suppose I have two multivariate functions $f(x,y,z)$ and $g(x,y,z)$ such that $0<x<1,0<y<1,0<z<1$. $f(x,y,z)$ is defined on values satisfying $\{0<x<1,0<y<1/2, z>y\}$ ...
17
votes
4answers
919 views

Find the equidistance curve between two curves

I have three function $f(x)=x^x$, $g(x)=\ln(x)^{\ln(x)}$, $h(x)=\ln(x)^2$ and I want to find (numerically) $C$ the center of the circle tangent to the three curves. I think that one way is to find ...
2
votes
1answer
43 views

CountourPlot3D problem when intersecting semiplanes

I have the following code: ...
3
votes
1answer
123 views

Plot ellipses in a exponential curve

I am trying to produce a single plot, where the ellipses fits neatly within the given curve function, and with each intersecting the curve at exactly 4 points. The ellipses is $x^2/a^2+y^2/b^2=1$, ...
2
votes
1answer
91 views

Intersection between a right elliptical cone region and a plane region

I am encountering difficulties in finding the intersection between a region defined as an elliptical cone and another region. For the time being the other region is a simple ...
2
votes
3answers
271 views

3D plot of Intersection of sphere with plane (basic)

I should be able to get this from the answer here - but, with apologies, I'm afraid I can't figure it out. I have a sphere and a plane as follows: ...
1
vote
0answers
91 views

Find the intersection coordinate of a line and a 3D surface defined by a contour plot

I have two points, for instance {1, 1, 1} and {10, 11, 15} that connected to form a line. I also have an enclosed surface region ...
4
votes
1answer
90 views

Join two lists by using the first element

I have two lists, which as a simple example can take the form: l1 = {{a1,a2,a3},{b1,b2,b3},{c1,c2,c3}} l2 = {{a1,n1},{c1,n2}} How can I merge them by the first ...
3
votes
0answers
34 views

Symbolic Set Difference

Suppose I have two symbolic set containing 2-points like A={(m,n)| for m,n belonging to whole numbers}. So m,n=0,1,2,... and I have another set containing 2-points ...
0
votes
1answer
116 views

Find x-intercept when maximum slope of tangent intersects a point

If I have the following data: https://pastebin.com/ZY4zFJYK and the following code: ...
4
votes
2answers
233 views

Is there a method to simplify RegionIntersection between 2 spheres?

I use RegionIntersection to find the circle between 2 spheres, but Mathematica returns : ...
3
votes
2answers
158 views

Finding mesh elements within a given region

I write a code that generates the following mesh. I would like to find out the elements that completely lie within a certain circular region inside this meshed area. How do I do that? The code that I ...
2
votes
1answer
97 views

Change color of overlapping convex hull

...
2
votes
1answer
80 views

Intersection of two lines

I have two lines: line1=InfiniteLine[{{0,1},{4,2}}] line2=InfiniteLine[{{1,2},{4,8}}] I used RegionIntersection to get intersection of these lines, but I can't ...
1
vote
2answers
63 views

Selecting Shared Edges from a Mesh

Consider the following mesh mesh0 = VoronoiMesh[RandomReal[1, {50, 2}]] I can select interior polygons with ...
2
votes
1answer
128 views

Graphics`Mesh`FindIntersections get extra intersections

Why am I getting some extra intersection points? ...
15
votes
3answers
1k views

Rounding an Irregular Polygon

Consider a random irregular convex polygon, for example, the 6-side polygon I want to define a function that, given a certain parameter r (roundness), rounds each ...
1
vote
2answers
92 views
3
votes
1answer
150 views

How to display an intersection of two geo regions?

...
3
votes
1answer
104 views

Is there a way to Plot intersection point in Manipulate?

I've tried to plot this . But It seemed useless in MeshFunctions ...
0
votes
1answer
56 views

All positive integer points up to a certain distance from a hyperplane

I have the hyperplane $\sum_{i=1}^{d} x_i c_i = z$ for $x \in \mathbb{R}^d$, defined by the vector of postivive numerical coefficients $c_i \in \mathbb{R}, c_i > 0$, and the value $z > 0$. I ...
6
votes
1answer
259 views

Remove zig-zag part in the intersection curve

I would like to show the intersection between the plane $2x-y-2=0$ and the surface $z=\sqrt{4-x^{2}-y^{2}}$. This is what I tried: ...
5
votes
1answer
147 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
4
votes
4answers
412 views

Fitting a curve between two sets of points

If I have two lists of points ${x,y}$, say list1 and list2 and I need to find a continuous function $y(x)$ that goes above all ...
0
votes
1answer
49 views

points of intersection along curve and horizontal line [duplicate]

I'm trying to find the intersection points of the following plot with the given boundaries. How would I do so in the bounds set by the above plot? I've tried FindRoot by setting the lines equal to ...
2
votes
2answers
90 views

To find the point of Intersection of two line in Mathematica

How to find the intersection point of two lines exactly, the lines are generated using some data. The x-axis is on the logarithmic scale and the y-axis is on a linear scale. ...
0
votes
1answer
170 views

Find the points closest to and farthest from the origin for a region in $\mathbb{R}^6$

Given $A$ being the intersection set between $x + y + z + u + v + w = 1$ and $x^2 + y^2 + z^2 + u^2 + v^2 = 1$, find the closest and farthest points to the origin that belong to $A$ in the space $\...
2
votes
2answers
134 views

Intersection of two functions

Could you please try to find the intersections points of this two functions: $ y = x $ and $y=(a+x) \ {\rm e}^ {-2(a+x)} $ with $x\geq0$ Thanks for your help
0
votes
1answer
34 views

Finding a coefficient that satisfies and intersecting condition

Suppose I have the following polynomial: ...
3
votes
2answers
190 views

Intersection of a plane with surface of ListSurfacePlot3D

If I have a list of points in 3D space that are only roughly located on a surface, this surface can be visualized with ListSurfacePlot3D. How can I find the ...
3
votes
2answers
190 views

Bug or undocumented behaviour in Intersection

I have two lists consisting of element pairs: a1 = Table[{i, i^2}, {i, 10}] // N; a2 = Table[{2 i, Sqrt[i]}, {i, 5}] // N; I want to pull out from both lists ...
9
votes
3answers
1k views

How can I solve for the intersection points of two ellipses?

I need to find the points at which the two ellipses implicitly defined by $\qquad y^2=4-4\,x^2 \quad[E1]$ and $\qquad (1-(x/2))^2+(y-1)^2=1 \quad[E2]$ intersect. So I isolated $y$ in E2 and ...
7
votes
2answers
290 views

How to plot a crossection of a ParametricPlot3D?

I'm plotting a surface using ParametricPlot3D. Ideally I would like to plot an intersection of the surface with a plane just as seen in another question (Cross Sections or slices of 3d figures - ...
7
votes
3answers
195 views

Discretisation of region intersection in 3D

If I try to discretise the intersection (BoundaryDiscretizeRegion), of a shell in a cuboid, some of the regions (that are found with RegionIntersection) are lost in the discretising process. I tried ...