InsertRay Method (ISketchManager)

InsertRay Method (ISketchManager) | Send Feedback
See Also Example

Ray[out]
  Ray

StartX
  x coordinate of the base (start) point of the Ray

StartY
  y coordinate of the base point of the Ray

StartZ
  z coordinate of the base point of the Ray

ThroughX
  x coordinate of the through point (point that defines the direction of the Ray from the base point) for the Ray

ThroughY
  y coordinate of the through point for the Ray

ThroughZ
  z coordinate of the through point for the Ray

Inserts a Ray.

# Syntax

Visual Basic |
--- | ---
    Function InsertRay( _
       ByVal StartX As System.Double, _
       ByVal StartY As System.Double, _
       ByVal StartZ As System.Double, _
       ByVal ThroughX As System.Double, _
       ByVal ThroughY As System.Double, _
       ByVal ThroughZ As System.Double _
    ) As Ray

C# |
--- | ---
    Ray InsertRay(
       System.double StartX,
       System.double StartY,
       System.double StartZ,
       System.double ThroughX,
       System.double ThroughY,
       System.double ThroughZ
    )

JavaScript |
--- | ---
    InsertRay(
       StartX : Number,
       StartY : Number,
       StartZ : Number,
       ThroughX : Number,
       ThroughY : Number,
       ThroughZ : Number
    ) : dsRay

COM native C++ |
--- | ---
    HRESULT InsertRay(
       DOUBLE StartX,
       DOUBLE StartY,
       DOUBLE StartZ,
       DOUBLE ThroughX,
       DOUBLE ThroughY,
       DOUBLE ThroughZ,
       IRay** Ray
    )

C++ |
--- | ---
    DSRESULT InsertRay(
       double StartX,
       double StartY,
       double StartZ,
       double ThroughX,
       double ThroughY,
       double ThroughZ,
       dsRay** Ray
    )

#### Parameters

StartX
  x coordinate of the base (start) point of the Ray
StartY
  y coordinate of the base point of the Ray
StartZ
  z coordinate of the base point of the Ray
ThroughX
  x coordinate of the through point (point that defines the direction of the Ray from the base point) for the Ray
ThroughY
  y coordinate of the through point for the Ray
ThroughZ
  z coordinate of the through point for the Ray
Ray[out] or Return Value
  Ray

# Example

Insert Ray (C#)
Insert Ray (VB.NET)
Insert Ray (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.1