CreateLineByPointAndDirection Method (IMathUtility)

CreateLineByPointAndDirection Method (IMathUtility) | Send Feedback
See Also

Line[out]
  IMathLine

StartX
  x coordinate of starting point

StartY
  y coordinate of starting point

StartZ
  z coordinate of starting point

Direction
  IMathVector

Type
  Type of line as defined in dsMathLineType_e

Creates a mathematical line of the specified type passing through the specified starting point in the specified direction.

# Syntax

Visual Basic |
--- | ---
    Function CreateLineByPointAndDirection( _
       ByVal StartX As System.Double, _
       ByVal StartY As System.Double, _
       ByVal StartZ As System.Double, _
       ByVal Direction As MathVector, _
       ByVal Type As dsMathLineType_e _
    ) As MathLine

C# |
--- | ---
    MathLine CreateLineByPointAndDirection(
       System.double StartX,
       System.double StartY,
       System.double StartZ,
       MathVector Direction,
       dsMathLineType_e Type
    )

JavaScript |
--- | ---
    CreateLineByPointAndDirection(
       StartX : Number,
       StartY : Number,
       StartZ : Number,
       Direction : dsMathVector,
       Type : String
    ) : dsMathLine

COM native C++ |
--- | ---
    HRESULT CreateLineByPointAndDirection(
       DOUBLE StartX,
       DOUBLE StartY,
       DOUBLE StartZ,
       IMathVector* Direction,
       dsMathLineType_e Type,
       IMathLine** Line
    )

C++ |
--- | ---
    DSRESULT CreateLineByPointAndDirection(
       double StartX,
       double StartY,
       double StartZ,
       dsMathVector* Direction,
       dsMathLineType_e Type,
       dsMathLine** Line
    )

#### Parameters

StartX
  x coordinate of starting point
StartY
  y coordinate of starting point
StartZ
  z coordinate of starting point
Direction
  IMathVector
Type
  Type of line as defined in dsMathLineType_e
Line[out] or Return Value
  IMathLine

# See Also

####

IMathUtility Interface
IMathUtility Members
IMathUtility::CreateLine Method

# Availability

DraftSight V1R1.4