Highlighted

Is there any good way to find the largest rectangular area in any irregular closed path

Explorer ,
Sep 30, 2020

Copy link to clipboard

Copied

Is there any good way to find the largest rectangular area in any irregular closed path? Because, I need to mark a number in this closed path area, and the number cannot overlap the edge of the path.

Snipaste_2020-10-01_11-06-51.png

see: Figure 1 is a closed path. I want to mark numbers on it. Figures 2 and 3 are wrong because the numbers are pressing on the edge of the path. Figures 3, 4, and 5 are all correct. I can only get the segment of each Bezier curve of the closed path, so how can I calculate the correct marker position?

TOPICS
SDK

Views

31

Likes

Translate

Translate

Report

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

Is there any good way to find the largest rectangular area in any irregular closed path

Explorer ,
Sep 30, 2020

Copy link to clipboard

Copied

Is there any good way to find the largest rectangular area in any irregular closed path? Because, I need to mark a number in this closed path area, and the number cannot overlap the edge of the path.

Snipaste_2020-10-01_11-06-51.png

see: Figure 1 is a closed path. I want to mark numbers on it. Figures 2 and 3 are wrong because the numbers are pressing on the edge of the path. Figures 3, 4, and 5 are all correct. I can only get the segment of each Bezier curve of the closed path, so how can I calculate the correct marker position?

TOPICS
SDK

Views

32

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 30, 2020 0
Most Valuable Participant ,
Oct 01, 2020

Copy link to clipboard

Copied

Maybe this older thread is a good starting point for you.

Script. Insert text number in the middle of visible bounds of the each object  

 

Have fun

😉

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 01, 2020 0