Round polyline

Info about design forms features
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
jkrsik
Posts: 30
Joined: 06 Oct 2014, 13:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Round polyline

Postby jkrsik » 02 Feb 2015, 07:29

Method for adding rounding to polyline corners (stirrups) is availabile.

RoundPolyline(object Points, double Radius, double NumberOfEdges);


method return array of points with rounding.

uexample:/u
Polyline - array of points without rounding X, Y
0.02 - radius of created rounding in m
4 - number of shapes in rounding

bobject PolyWithRounding = RoundPolyline(Polyline,0.02,4);/b

PolyWithRounding - array of points with rounding X, Y

jkrsik
Posts: 30
Joined: 06 Oct 2014, 13:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Round polyline

Postby jkrsik » 20 Nov 2015, 12:59

Attachments
RoundPolygon_after.PNG
RoundPolygon output after change
RoundPolygon_after.PNG (463 Bytes) Viewed 3379 times
RoundPolygon_before.PNG
RoundPolygon output before change
RoundPolygon_before.PNG (476 Bytes) Viewed 3379 times
Original_polygon.PNG
Original polygon
Original_polygon.PNG (385 Bytes) Viewed 3379 times


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 4 guests