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
0 votes
1 answer
52 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 ...
user avatar
  • 541
0 votes
0 answers
45 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 ...
user avatar
0 votes
0 answers
69 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 ...
user avatar
  • 3,542
1 vote
2 answers
102 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} \\ \...
user avatar
  • 1,626
4 votes
2 answers
331 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$ ...
user avatar
  • 463
1 vote
3 answers
154 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: ...
user avatar
1 vote
2 answers
105 views

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

I have the following function: ...
user avatar
  • 291
2 votes
2 answers
196 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 ...
user avatar
3 votes
1 answer
64 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 = ...
user avatar
1 vote
0 answers
40 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, ...
user avatar
  • 4,138
3 votes
2 answers
183 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 ...
user avatar
  • 207
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: ...
user avatar
  • 331
4 votes
2 answers
277 views

Finding all intersection point between two time series

I've the following time series in smoothedData: ...
user avatar
  • 890
1 vote
0 answers
44 views

Determine if intersection of Polygon and HalfLine is non-empty

I have a concrete example: ...
user avatar
0 votes
0 answers
80 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: ...
user avatar
  • 1,539
2 votes
0 answers
47 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 ...
user avatar
  • 3,542
1 vote
1 answer
102 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 ...
user avatar
  • 121
0 votes
1 answer
89 views

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

Consider some rectangle called ExperimentLocation, and a circle ParticleAzimuthalCoverage: ...
user avatar
  • 3,542
1 vote
1 answer
163 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....
user avatar
  • 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 ...
user avatar
  • 3,542
2 votes
1 answer
109 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 ...
user avatar
  • 3,542
4 votes
2 answers
182 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: ...
user avatar
  • 8,105
2 votes
2 answers
75 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 ...
user avatar
  • 23
1 vote
0 answers
54 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\}$ ...
user avatar
  • 147
17 votes
4 answers
977 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 ...
user avatar
2 votes
1 answer
44 views

CountourPlot3D problem when intersecting semiplanes

I have the following code: ...
user avatar
3 votes
1 answer
135 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$, ...
user avatar
2 votes
1 answer
129 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 ...
user avatar
  • 187
2 votes
3 answers
470 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: ...
user avatar
1 vote
0 answers
111 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 ...
user avatar
  • 367
4 votes
1 answer
119 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 ...
user avatar
  • 371
3 votes
0 answers
46 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 ...
user avatar
  • 1,018
0 votes
1 answer
124 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: ...
user avatar
  • 1,531
4 votes
2 answers
261 views

Is there a method to simplify RegionIntersection between 2 spheres?

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

Change color of overlapping convex hull

...
user avatar
  • 1,018
2 votes
1 answer
139 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 ...
user avatar
  • 21
1 vote
2 answers
80 views

Selecting Shared Edges from a Mesh

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

Graphics`Mesh`FindIntersections get extra intersections

Why am I getting some extra intersection points? ...
user avatar
  • 1,601
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 ...
user avatar
  • 4,138
1 vote
2 answers
115 views

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

This is my code: ...
user avatar
  • 11
3 votes
1 answer
193 views

How to display an intersection of two geo regions?

...
user avatar
  • 8,105
3 votes
1 answer
113 views

Is there a way to Plot intersection point in Manipulate?

I've tried to plot this . But It seemed useless in MeshFunctions ...
user avatar
  • 1,601
0 votes
1 answer
75 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 ...
user avatar
  • 1,259
6 votes
1 answer
263 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: ...
user avatar
  • 425
5 votes
1 answer
171 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
user avatar
  • 3,842
4 votes
4 answers
517 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 ...
user avatar
  • 3,553
0 votes
1 answer
54 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 ...
user avatar
2 votes
2 answers
97 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. ...
user avatar
  • 1,639
0 votes
1 answer
206 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 $\...
user avatar