ActiveField Technology Objects Overview Hierarchy Chart How to Start: Application Object How to work with Problems How to work with Model How to work with Data How to Analyze Results

AddLineTo Method

Summary

Adds a line (segment or arc) to the contour.

Syntax

Contour.AddLineTo (
  [Point As Point],
  [angle As Double]
) As Boolean

Parameters

Point
[in] Point
angle
[in] Double

The AddLineTo method adds a line (segment or arc) to the Contour.
The point parameter is an ending point of the created line. If point is omitted, the line is drawn to the contour starting point, so the contour becomes closed.

The angle parameter specifies the central angle of the arc in radians. Zero angle (default ) specifies a line segment.

If the contour is empty, the first call of the AddLineTo method does nothing but remembering point as a starting point of the contour. The line will be created by the next call of AddLineTo.