PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
RotateToPoint Method
See Also

Collapse All Expand All

X
  Required Double X component used in calculating rotation angle.

Y
  Required Double Y component used in calculation rotation angle.

Workplane
  Optional parameter with the ENUM_PLANE_TYPE enumeration used to define which axis to rotate about.

# Description

Rotates the primary axis to the supplied point relative to the supplied workplane

Rotates the matrix by the calculated angle relative to the workplane.

# Syntax

Visual Basic

    Public Sub RotateToPoint( _
       ByVal X As Double, _
       ByVal Y As Double, _
       ByVal Workplane As ENUM_PLANE_TYPE _
    )

# Parameters

X
  Required Double X component used in calculating rotation angle.
Y
  Required Double Y component used in calculation rotation angle.
Workplane

  Value | Description
  --- | ---
  PLANE_TOP |
  PLANE_RIGHT |
  PLANE_BACK |
  PLANE_BOTTOM |
  PLANE_LEFT |
  PLANE_FRONT |

  Optional parameter with the ENUM_PLANE_TYPE enumeration used to define which axis to rotate about.

# See Also

DmisMatrix Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.