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
4 votes
2 answers
90 views

Kernel quits upon computing RegionIntersection

Using 12.1.1.0 on MacOS BigSur I observe quitting Mathematica kernels when evaluating RegionIntersections on two regions that apparently only touch. Example for Regions that cause the Kernel to quit ...
2 votes
1 answer
90 views

not being able to find the a good picture of the intersection of two surfaces

I'm having trouble finding a good picture around the origin of the intersection curve of the following surfaces $z - \dfrac{x^2}{2} - \dfrac{x^3}{12 \sqrt3} + \dfrac{y^2}{2} + \dfrac{x y^2}{4 \sqrt 3}=...
0 votes
1 answer
62 views

Identifying the intersection between a ConditionalExpression and a parametric curve

I'm trying to determine the intersection of lines over a surface (if they exist). My problem is that one of the lines is defined as a conditional expression and for the others I only have a parametric ...
  • 543
0 votes
0 answers
47 views

A new question about finding intersecting rectangles groups

I've a list of rotated rectangles in this form {<|"orientation" -> angle of rotation, "nextPosition" -> {centerX, centerY}|>} I ...
0 votes
0 answers
74 views

Calculate the "intersection" for the given case?

Consider the following task: There are two cross-sections: the first one is located in the $yz$ plane (the case 1), and the second one is in the $xy$ plane (the case 2). In the spherical coordinate ...
  • 4,106
1 vote
2 answers
105 views

Intersection of a set of structurally homogeneous inequalities and extracting a combination of numbers to fully satisfy it

There are a number of structurally homogeneous inequalities: $\begin{array}{l} \left| s_1\right| \leq \sqrt{4 s_2} \\ \left| s_2\right| \leq \sqrt{4 s_4} \\ \left| s_3\right| \leq \sqrt{4 s_6} \\ \...
  • 1,881
4 votes
2 answers
373 views

How to get a manipulated plot of the intersection points of two curves without finding them numerically?

I have four 2-variables functions for $0<x<3$ and $1<y<3$ ...
  • 463
1 vote
3 answers
161 views

Plotting the solutions of the equation $e^{-z}=z$ in the complex plane

I would like to plot in the complex plane the solutions of the equation $$e^{-z}=z.$$ I tried this: I took $z=a+ib$ and took the real and imaginary part of the equation: ...
1 vote
2 answers
111 views

Plot the intersection of a plane with the volume of a function

I have the following function: ...
  • 291
2 votes
2 answers
240 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
1 answer
65 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
0 answers
44 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, ...
  • 4,388
3 votes
2 answers
201 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 ...
  • 217
11 votes
1 answer
174 views

Mysterious Intersection on Association

This bug has been fixed in version 13.0 I have try to do an intersection on list of associations and the result is astonishing. Here an example: ...
  • 331
5 votes
2 answers
354 views

Finding all intersection point between two time series

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

Determine if intersection of Polygon and HalfLine is non-empty

I have a concrete example: ...
0 votes
0 answers
87 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,549
2 votes
0 answers
51 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 ...
  • 4,106
1 vote
1 answer
125 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 ...
  • 183
0 votes
1 answer
98 views

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

Consider some rectangle called ExperimentLocation, and a circle ParticleAzimuthalCoverage: ...
  • 4,106
1 vote
1 answer
222 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....
  • 13
3 votes
2 answers
97 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 ...
  • 4,106
2 votes
1 answer
125 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,106
4 votes
2 answers
205 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: ...
  • 8,417
2 votes
2 answers
76 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 ...
  • 23
1 vote
0 answers
64 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\}$ ...
  • 147
17 votes
4 answers
1k 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
1 answer
44 views

CountourPlot3D problem when intersecting semiplanes

I have the following code: ...
3 votes
1 answer
142 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
1 answer
154 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 ...
  • 187
2 votes
3 answers
563 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
0 answers
129 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 ...
  • 367
4 votes
1 answer
145 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 ...
  • 371
3 votes
0 answers
56 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 ...
  • 1,092
0 votes
1 answer
132 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: ...
  • 1,531
4 votes
2 answers
277 views

Is there a method to simplify RegionIntersection between 2 spheres?

I use RegionIntersection to find the circle between 2 spheres, but Mathematica returns : ...
  • 95
3 votes
2 answers
202 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 ...
  • 41
2 votes
1 answer
127 views

Change color of overlapping convex hull

...
  • 1,092
2 votes
1 answer
196 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 ...
  • 21
1 vote
2 answers
89 views

Selecting Shared Edges from a Mesh

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

Graphics`Mesh`FindIntersections get extra intersections

Why am I getting some extra intersection points? ...
  • 1,611
17 votes
3 answers
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 ...
  • 4,388
1 vote
2 answers
128 views

The intersection point of a line crossing a surface is not displayed correctly In 3D Graphics

This is my code: ...
  • 11
3 votes
1 answer
219 views

How to display an intersection of two geo regions?

...
  • 8,417
3 votes
1 answer
120 views

Is there a way to Plot intersection point in Manipulate?

I've tried to plot this . But It seemed useless in MeshFunctions ...
  • 1,611
0 votes
1 answer
77 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 ...
  • 1,268
6 votes
1 answer
269 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: ...
  • 425
5 votes
1 answer
189 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
  • 3,862
4 votes
4 answers
549 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 ...
  • 3,703
0 votes
1 answer
61 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 ...