Click or drag to resize

DocumentUnitsVector Class

Provides properties, functions, and operators for a vector with components in document units.
Inheritance Hierarchy
SystemObject
  DocumentUnitsGeometry
    Autodesk.iLogic.TypesDocumentUnitsVector

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 23.0
Syntax
Public Class DocumentUnitsVector
	Inherits DocumentUnitsGeometry

The DocumentUnitsVector type exposes the following members.

Constructors
  NameDescription
Public methodDocumentUnitsVector
Constructor of DocumentUnitsVector.
Top
Properties
  NameDescription
Public propertyInDatabaseUnits
Gets or sets the vector in Inventor internal database units (centimeters).
Public propertyLength
Gets the length of this vector.
Public propertyX
Gets or sets the X coordinate.
Public propertyY
Gets or sets the Y coordinate.
Public propertyZ
Gets or sets the Z coordinate.
Top
Methods
  NameDescription
Public methodAddVector
Adds the specified vector to this vector.
Public methodAngleTo
Determines the angle between this vector and the specified vector. The angle value is in document units.
Public methodAsUnitVector
Gets the unit vector equivalent of this vector (normalized).
Public methodCopy
Creates a copy of this Vector object. The result is entirely independent and can be edited without affecting the original Vector object.
Public methodCrossProduct
Determine the cross product between this vector and the specified vector.
Public methodDotProduct
Determine the dot product of this vector to the specified vector.
Public methodGetVectorData
Gets the vector coordinates.
Public methodIsEqualTo
Compares this vector for equality with the specified point.
Public methodIsParallelTo
Determine if this vector is parallel to the specified vector.
Public methodIsPerpendicularTo
Determine if this vector is perpendicular to the specified vector.
Public methodNormalize
Normalize this vector to result in a length equal to 1.0.
Public methodPutVectorData
Method that sets the data defining this vector.
Public methodScaleBy
Scale this vector by the specified scale factor.
Public methodSubtractVector
Subtract the specified vector from this vector.
Public methodTransformBy
Transform this vector by the specified matrix.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Add vector to vector. Like AddVector(), but creates a new object.
Public operatorStatic memberSubtraction
Subtract vector from vector. Like SubtractVector(), but creates a new object.
Top
See Also