Share

Geometry.WorldLine Method

Description

Draws a line between the two points startPoint and endPoint. The points must be in world coordinates.

A return value of false (that is, 0) indicates that the primitive has been successfully stored in the graphics database. A return value of true indicates that the operation has been terminated, and the application wants to get control back as soon as possible.

Visual Basic

Public abstract Function WorldLine(
    startPoint As Point3d, 
    endPoint As Point3d
) As bool

C#

public abstract bool WorldLine(
    Point3d startPoint, 
    Point3d endPoint
);

Parameters

Parameters Description
Point3d startPoint Input start point of the worldline
Point3d endPoint Input second point on the worldline

Links

Geometry Class, Autodesk.AutoCAD.GraphicsInterface Namespace

Was this information helpful?