Utility.GetOrientationTransformation Method

Gets the transformation to orient an entity built on the X-Axis on the given direction.
Public Shared Function GetOrientationTransformation( _ 
ByVal position As Point3D, _ 
ByVal direction As Vector3D
) As Transformation
This language is not supported or no code example is available.
public static Transformation GetOrientationTransformation( 
Point3D position
Vector3D direction 
)
This language is not supported or no code example is available.

Parameters

position
Point3D

The point where the entity must be positioned

direction
Vector3D

The orientation desired

Return Value

Transformation

The transformation to orient the entity.

.NET Framework

Supported in: 4.8

In this article

Definition