Share

Geometry.Ray Method

Description

Displays a ray that starts at point1 and passes through point2.

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 Ray(
    point1 As Point3d, 
    point2 As Point3d
) As bool

C#

public abstract bool Ray(
    Point3d point1, 
    Point3d point2
);

Parameters

Parameters Description
Point3d point1 Input starting point of ray
Point3d point2 Input another point (different from starting point) on the ray

Links

Geometry Class, Autodesk.AutoCAD.GraphicsInterface Namespace

Was this information helpful?