Questions tagged [topology]

Topology is the mathematical study of the properties that are preserved through deformations, twistings, and stretchings of objects. Tearing, however, is not allowed. A circle is topologically equivalent to an ellipse (into which it can be deformed by stretching) and a sphere is equivalent to an ellipsoid.

377 questions
-4
votes
1 answer

Can someone please explain the Ray-casting algorithm for point in polygon i.e. containment check?

Consider a polygon with two loops i.e. Outer loop& inner loop as shown in the images attached with this question(One can think of an English letter "e" for example). Can someone please explain how exactly the Ray-casting algorithm will work in such…
Shreekant
  • 297
  • 2
  • 3
  • 10
-4
votes
1 answer

How to loop a list and append it to a dictionary in a loop?

It is for a dynamic ring topology project. Specifically, I need to name each node: s1,s2...sz, and name each host h1-1,h1-2,...hz-n. So z is the number of the nodes, and n is the number of the host connected to each node. So I have a list of the…
1 2 3
25
26