CreateTransformProjection Method (IMathUtility)

CreateTransformProjection Method (IMathUtility) | Send Feedback
See Also Example

Transform[out]
  IMathTransform

ProjectionPlane
  IMathPlane

ProjectionDirection
  IMathVector

Creates a mathematical transformation matrix that projects onto the specified plane in the specified direction.

# Syntax

Visual Basic |
--- | ---
    Function CreateTransformProjection( _
       ByVal ProjectionPlane As MathPlane, _
       ByVal ProjectionDirection As MathVector _
    ) As MathTransform

C# |
--- | ---
    MathTransform CreateTransformProjection(
       MathPlane ProjectionPlane,
       MathVector ProjectionDirection
    )

JavaScript |
--- | ---
    CreateTransformProjection(
       ProjectionPlane : dsMathPlane,
       ProjectionDirection : dsMathVector
    ) : dsMathTransform

COM native C++ |
--- | ---
    HRESULT CreateTransformProjection(
       IMathPlane* ProjectionPlane,
       IMathVector* ProjectionDirection,
       IMathTransform** Transform
    )

C++ |
--- | ---
    DSRESULT CreateTransformProjection(
       dsMathPlane* ProjectionPlane,
       dsMathVector* ProjectionDirection,
       dsMathTransform** Transform
    )

#### Parameters

ProjectionPlane
  IMathPlane
ProjectionDirection
  IMathVector
Transform[out] or Return Value
  IMathTransform

# Example

Rotate, Scale, Project, and Mirror a Line Entity (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (VB.NET)
Rotate, Scale, Project, and Mirror a Line Entity (C#)
Rotate, Scale, Project, and Mirror a Line Entity (VBA)

# See Also

####

IMathUtility Interface
IMathUtility Members
IMathUtility::CreateTransform Method
IMathUtility::CreateTransformMirroringAboutLine Method
IMathUtility::CreateTransformMirroringAboutPlane Method
IMathUtility::CreateTransformMirroringAboutPoint Method
IMathUtility::CreateTransformRotation Method
IMathUtility::CreateTransformScaling Method
IMathUtility::CreateTransformTranslation Method

# Availability

DraftSight V1R1.4