Eyeshot 10 WPF API Reference
GetOrientationTransformation Method

WPF Assembly > devDept.Geometry Namespace > Utility Class : GetOrientationTransformation Method
The point where the entity must be positioned
The orientation desired
Gets the transformation to orient an entity built on the X-Axis on the given direction.
Syntax
'Declaration
 
Public Shared Function GetOrientationTransformation( _
   ByVal position As Point3D, _
   ByVal direction As Vector3D _
) As Transformation
public static Transformation GetOrientationTransformation( 
   Point3D position,
   Vector3D direction
)

Parameters

position
The point where the entity must be positioned
direction
The orientation desired

Return Value

The transformation to orient the entity.
See Also

Reference

Utility Class
Utility Members