polyline validation in circle

580
1
Jump to solution
07-19-2018 10:24 AM
MRReddy
Occasional Contributor

polyline shouldn't cross the circle boundary, how to verify does polyline came outside from circle(which is drawn on basis of center point with 1/4 radius). 

100 % of polyline should be inside/touch the circle, not outside.

got stuck, Any help would be appreciated

Thanks

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

You can use various methods in the geometryEngine class.

  • contains will check whether the polyline is inside the circle
  • intersects will check if they cross each other
  • touches will check if they touch each other
  • disjoint will check if they don't intersect at all

View solution in original post

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

You can use various methods in the geometryEngine class.

  • contains will check whether the polyline is inside the circle
  • intersects will check if they cross each other
  • touches will check if they touch each other
  • disjoint will check if they don't intersect at all
0 Kudos