PolygonCreateCircle
Returns a new circular polygon.
This function is intended to be used with the DriveWorks 3D Extrusion entity.
Syntax
PolygonCreateCircle(X,Y,Radius,Segments)
Where:
X: The center X position of the circle in millimeters.
Y: The center Y position of the circle in millimeters.
Radius: The radius of the circle in millimeters.
Segments: The number of edge segments.
Examples
Example 1
Rule (Fill Paths)
PolygonCreateCircle(0,0,50,8)
Result
{"50|0","35.35534|35.35534","-2.185569E-06|50","-35.35534|35.35534","-50|-4.371139E-06","-35.35534|-35.35534","5.96244E-07|-50","35.35533|-35.35534"}
The points for each coordinate of the circle polygon are created.