title: How to determine if a coordinate is inside SVG Close Path?
body: <p>I have designed a Duval's Triangle ( a diagnostic tool ), on SVG,
  cosisting of Segments (closed Paths) of different colors.
  The diagnostic result will be a coordinate.
  Need to detect the resultant coordinate is in which Closed Path ? </p>
  
  <p>Like in the following case the diagnostic result is a RED DOT.
  Need to detect the close path i.e in this case : D2
  <a href="https://i.stack.imgur.com/G2Wks.png" rel="noreferrer"><img src="https://i.stack.imgur.com/G2Wks.png" alt="enter image description here"></a></p>