Example: Arc Data Format
The system defines the arc entity by a plane in which the arc lies. The arc is centered at the origin and is parameterized by the angle of rotation from the first plane unit vector in the direction of the second plane vector. The start and end angle parameters of the arc and the radius are also given. The direction of the arc is counterclockwise if the start angle is less than the end angle; otherwise, it is clockwise.
Data format:
vector1[3]
(dbl)
Defines the plane of the arc
vector2[3]
(dbl)
Defines the plane of the arc
origin[3]
(dbl)
Defines the plane of the arc
start_angle
(dbl)
Angular parameter of the startpoint
end_angle
(dbl)
Angular parameter of the endpoint
radius
(dbl)
Radius of the arc
Parameterization:
t', the un-normalized parameter, is (1 - t) * start_angle + t * end_angle
(x, y, z) = radius * [cos(t') * vector1 + sin(t') * vector2] + origin