HMIN_startline()

Signals the beginning of a line.

Syntax

void HMIN_startline(HM_entityidtype id, double tolerance, int closed, HM_entityidtype componentid);

Type

HyperMesh hminlib Function

Description

Signals the beginning of a line.

Inputs

id
The ID of the line.
tolerance
The tolerance to which you have created the line. Two points less than this distance apart are considered the same point.
closed
If true, the line is closed, i.e., the start point is the same as the end point.
componentid
The ID of the collector where the line should be placed.

Example

In HyperMesh, lines are always connected. Thus, if the end point of one line is more than tolerance away from the start point of the next, HyperMesh arbitrarily modifies the incoming line to make it connected. Currently, straight segments are added to connect the points. This is subject to change in future versions, and should not be relied on.

Segments must be at least tolerance long. HyperMesh arbitrarily changes segments that are shorter than tolerance.

Self-intersecting lines often confuse HyperMesh; do not use them.

Errors

None.