Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to find out the overlapping object?

New Here ,
Jul 28, 2009 Jul 28, 2009

Is it possible to find out wheather one pathItem which not in horizontal and vertical position be overlaped or touched any other items like pathitems,textframes etc. in illustrator cs3 active document.

I got the top, left, right and bottom values of the bounding box for every items. From that i got the overlap of bounding boxes. But i don't know how to find out one pathItem overlaped (or) touched any other items. Kindly advice me the possibilities. I have attached the sample file for review.

Thanks in advance.

TOPICS
SDK
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Jul 28, 2009 Jul 28, 2009

Unfortunately, I don't know of any Illustrator SDK functionality that provides 'do these paths intersect/overlap'. I'm afraid you have to perform bounding box checks like you're already doing, then conduct segment-by-segment comparisons when you find potential overlaps (as indicated by bounding box hits).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2010 Apr 25, 2010
LATEST

You always can copy your art and implement "Intersect" in Pathfinder

using sAIActionManager->PlayActionEvent(...).

Then check if remained art  != nil.

intersect0.jpg

intersect1.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines