SFML community forums

Help => Graphics => Topic started by: QuantumKitten on May 24, 2015, 04:19:24 am

Title: Shape intersection
Post by: QuantumKitten on May 24, 2015, 04:19:24 am
Hey guys, I just started learning SFML today and I tried to draw a couple of geometric figures on the screen. Now, I am just wondering how exactly can I draw another shape (for example another circle, given the fact that all my shapes have their center as their Origin) at the intersection point between two other shapes for example. Say we have two circles and I want to draw some other little circles at the intersection points between the two main circles. How can I do that? Thanks!

Also the "circles" are in fact the circles outlines (thickness is variable), the circles themselves are set to Transparent.

Title: AW: Shape intersection
Post by: eXpl0it3r on May 24, 2015, 07:53:47 am
Set the correct position and draw them.