HMIN_writeellipse()

Specifies the next segment in the current line as an elliptical arc.

Syntax

void HMIN_writeellipse(double cx, double cy, double cz, double nx, double ny, double nz, double ax, double ay, double az, double ratio, double sx, double sy, double sz, double ex, double ey, double ez);

Type

HyperMesh hminlib Function

Description

Specifies the next segment in the current line as an elliptical arc.

Inputs

cx
The x coordinate of the center of the arc.
cy
The y coordinate of the center of the arc.
cz
The z coordinate of the center of the arc.
nx
The x coordinate of the vector that is the normal of the arc.
ny
The y coordinate of the vector that is the normal of the arc.
nz
The z coordinate of the vector that is the normal of the arc.
ax
The x coordinate of the vector that is the major axis of the arc.
ay
The y coordinate of the vector that is the major axis of the arc.
az
The z coordinate of the vector that is the major axis of the arc.
ratio
The ratio of the length of the minor axis over the length of the major axis.
sx
The x coordinate of the start of the arc.
sy
The y coordinate of the start of the arc.
sz
The z coordinate of the start of the arc.
ex
The x coordinate of the end of the arc.
ey
The y coordinate of the end of the arc.
ez
The z coordinate of the end of the arc.

Example

The direction of the arc is specified by the normal and major axes using the right-hand rule (negating the normal while leaving the remainder of the arc unchanged gives you the complement of the original arc.)

This command is only valid after a call to HMIN_startline() and before the corresponding call to HMIN_endline().

Errors

None.