Linked Questions

49 votes
7 answers
10k views

Intersecting graphics

Does the Mathematica graphics system have any concept of intersecting graphics? I've not found much in the documents so far. For example, if I want to show the intersection of two shapes: ...
cormullion's user avatar
  • 24.3k
25 votes
7 answers
5k views

Find intersection of pairs of straight lines

I have a list of 24 points, in which two consecutive points (1st and 2nd, 3rd and 4th, …) are supposed to form a line: ...
seismatica's user avatar
  • 5,121
26 votes
4 answers
4k views

Hightlight all the self-intersections of a Lissajous figure

This graph–also known as a Lissajous figure–contains so many self-intersections.How can I highlight them? ...
WateSoyan's user avatar
  • 1,854
9 votes
5 answers
813 views

What is the fastest way to compute intersection of infinite lines with a given boundary?

Given a list of InfiniteLine, i.e., infinitelines and a boundary boundaryc how can we devise ...
Ali Hashmi's user avatar
  • 9,000
17 votes
3 answers
9k views

Graphics3D: Finding intersection of 3d objects and lines

I found these two nice links 1) intersecting graphics 2) Implementation of Balaban's Line intersection algorithm in Mathematica which works for 2d. However, I need to find whether a ray(line) ...
s.s.o's user avatar
  • 4,567
11 votes
1 answer
797 views

How to solve for the intersection points of two ellipses?

I have a parametric equation of two ellipses as follow $\begin{cases} x=a_1 \text{sin$\theta $}+b_1 \text{cos$\theta $}+c_1 \\ y=d_1 \text{sin$\theta $}+e_1 \text{cos$\theta $}+f_1 \\ \end{cases}...
xyz's user avatar
  • 625
11 votes
2 answers
612 views

Finding self-intersections of a closed curve represented by an interpolation function

I've been trying to find particular simple closed curves on a plane. ...
Matthew Dannenberg's user avatar
3 votes
1 answer
538 views

How can Mathematica be used to detect an area surrounded by the most lines?

I have an array of lines that produce random shapes. These lines define edge boundaries from an array that I would like to use to reconstruct the main feature of the array. Can Mathematica find the ...
Nothingtoseehere's user avatar
0 votes
1 answer
255 views

plot randomly oriented lines

I want to create the following graphic: A set of line-elements are randomly oriented in planes parallel to xy-plane. In addition, on each plane the drawed line-elements should not cross each other. ...
Dimitris's user avatar
  • 4,834
0 votes
1 answer
182 views

Define function that goes from one point to another parametrically

I have two points p1 and p2, and I want to get the parametric equation of a linear function that passes through those, but ranging from one point to another. For example, if I have 2 points {0,0} and ...
Arcotick's user avatar
  • 639
3 votes
0 answers
79 views

Crumpling up a line: how to tell if a Line self intersects?

I'm crumpling up lines by rotating them at random positions. That is I take a line, a random rotation angle, and a random pivot point, then every point beyond that gets rotated about the pivot by the ...
flinty's user avatar
  • 25.5k