1 Pages (11 items)
Polygon intersection - Messages
Hi everyone,
I'm looking for suggestions to find the intersection of two polygons and hatch the result.
The most particular case concerns the hatching of a part of polygon intersected by a straight line.
I know some basic of X-Y plot to draw a polygon...
I'm looking for suggestions to find the intersection of two polygons and hatch the result.
The most particular case concerns the hatching of a part of polygon intersected by a straight line.
I know some basic of X-Y plot to draw a polygon...
Physics is like sex. Sure, it may give some practical results, but that’s not why we do it. (R. Feynman)
Perhaps the GPC (general polygon clipping library) wrapper plugin might help. The basics are described in section G.3 of the german handbook.
You also might have a look at the hatch and fill snippet.
GPC.sm (6.8 KiB) downloaded 1092 time(s).
![2017-03-29 14_54_45-SMath Studio 0.98.6179 - [Blatt1_].png](/zh-Hans-CN/files/Download/CTUPQv/2017-03-29-14_54_45-SMath-Studio-0.98.6179---[Blatt1_].png)
You also might have a look at the hatch and fill snippet.
GPC.sm (6.8 KiB) downloaded 1092 time(s).
![2017-03-29 14_54_45-SMath Studio 0.98.6179 - [Blatt1_].png](/zh-Hans-CN/files/Download/CTUPQv/2017-03-29-14_54_45-SMath-Studio-0.98.6179---[Blatt1_].png)
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
frapuano 2020/5/18 04:10:00
Otherwise, piece wise from native Smath ... just demo.
Circular Polygon.sm (20.93 KiB) downloaded 619 time(s).
Circular Polygon.sm (20.93 KiB) downloaded 619 time(s).
Hi. Maybe you also can check this discussion: https://en.smath.com/forum/yaf_postst11405_Line-intersections.aspx
Best regards.
Alvaro.
Best regards.
Alvaro.
IMHO, I don't see much interest for polygon intersection.
For your interest: Intersection Pentastar.
Maths Polygon Solve Intersection.sm (21.94 KiB) downloaded 602 time(s).
Maths Polygon Intersection Pentastar.sm (35.97 KiB) downloaded 613 time(s).
For your interest: Intersection Pentastar.
Maths Polygon Solve Intersection.sm (21.94 KiB) downloaded 602 time(s).
Maths Polygon Intersection Pentastar.sm (35.97 KiB) downloaded 613 time(s).
WroteFor your interest: Intersection Pentastar.
...labels added, superb for publishing.
Maths Polygon Intersection Pentastar.sm (47.19 KiB) downloaded 597 time(s).
thank you all, I will do some application
Physics is like sex. Sure, it may give some practical results, but that’s not why we do it. (R. Feynman)
Question:
How would you then calculate / determine the length of the clipped line?
Interested for tension and shear lengths in unusual shapes
How would you then calculate / determine the length of the clipped line?
Interested for tension and shear lengths in unusual shapes
... refreshed/generalized/augmented [A, P, CG]
2D Plot Setup Critical Polygon Intersection.sm (31.89 KiB) downloaded 679 time(s).
2D Plot Setup Critical Polygon Intersection.sm (31.89 KiB) downloaded 679 time(s).
WroteHow would you then calculate / determine the length of the clipped line?
Interested for tension and shear lengths in unusual shapes
From the attached Smath document.
WroteQuestion:
How would you then calculate / determine the length of the clipped line?
Interested for tension and shear lengths in unusual shapes
From coords, using Pitagora's theorem
Wrote... refreshed/generalized/augmented [A, P, CG]
2D Plot Setup Critical Polygon Intersection.sm (31.89 KiB) downloaded 679 time(s).
Very nice.
Physics is like sex. Sure, it may give some practical results, but that’s not why we do it. (R. Feynman)
1 Pages (11 items)
- New Posts
- No New Posts