CreateTransformRotation Method (IMathUtility) Send Feedback
See Also  Example
Transform[out]
IMathTransform
CenterPoint
IMathPoint; center point of Axis
Axis
IMathVector
Angle
Angle in radians of rotation about Axis
Creates a mathematical transformation matrix that represents the rotation by the specified angle about the specified axis vector whose center is the specified point.

Syntax

Visual Basic 
Function CreateTransformRotation( _
   ByVal CenterPoint As MathPoint, _
   ByVal Axis As MathVector, _
   ByVal Angle As System.Double _
) As MathTransform
C# 
MathTransform CreateTransformRotation( 
   MathPoint CenterPoint,
   MathVector Axis,
   System.double Angle
)
JavaScript 
CreateTransformRotation( 
   CenterPoint : dsMathPoint,
   Axis : dsMathVector,
   Angle : Number
) : dsMathTransform
COM native C++ 
HRESULT CreateTransformRotation( 
   IMathPoint* CenterPoint,
   IMathVector* Axis,
   DOUBLE Angle,
   IMathTransform** Transform
) 
C++ 
DSRESULT CreateTransformRotation( 
   dsMathPoint* CenterPoint,
   dsMathVector* Axis,
   double Angle,
   dsMathTransform** Transform
) 

Parameters

CenterPoint
IMathPoint; center point of Axis
Axis
IMathVector
Angle
Angle in radians of rotation about Axis
Transform[out] or Return Value
IMathTransform

Example

 

See Also

Availability

DraftSight V1R1.4