Provides properties, functions, and operators for a vector with components in document units.
Inheritance Hierarchy
System.ObjectDocumentUnitsGeometry
Autodesk.iLogic.Types.DocumentUnitsVector
Namespace: Autodesk.iLogic.Types
Assembly: Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 29.0
Syntax
VB
Public Class DocumentUnitsVector Inherits DocumentUnitsGeometry
C#
public class DocumentUnitsVector : DocumentUnitsGeometry
The DocumentUnitsVector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DocumentUnitsVector |
Constructor of DocumentUnitsVector.
|
Properties
Name | Description | |
---|---|---|
![]() | InDatabaseUnits |
Gets or sets the vector in Inventor internal database units (centimeters).
|
![]() | Length |
Gets the length of this vector.
|
![]() | X |
Gets or sets the X coordinate.
|
![]() | Y |
Gets or sets the Y coordinate.
|
![]() | Z |
Gets or sets the Z coordinate.
|
Methods
Name | Description | |
---|---|---|
![]() | AddVector |
Adds the specified vector to this vector.
|
![]() | AngleTo |
Determines the angle between this vector and the specified vector. The angle value is in document units.
|
![]() | AsUnitVector |
Gets the unit vector equivalent of this vector (normalized).
|
![]() | Copy |
Creates a copy of this Vector object. The result is entirely independent and can be edited without affecting the original Vector object.
|
![]() | CrossProduct |
Determine the cross product between this vector and the specified vector.
|
![]() | DotProduct |
Determine the dot product of this vector to the specified vector.
|
![]() | GetVectorData |
Gets the vector coordinates.
|
![]() | IsEqualTo |
Compares this vector for equality with the specified point.
|
![]() | IsParallelTo |
Determine if this vector is parallel to the specified vector.
|
![]() | IsPerpendicularTo |
Determine if this vector is perpendicular to the specified vector.
|
![]() | Normalize |
Normalize this vector to result in a length equal to 1.0.
|
![]() | PutVectorData |
Method that sets the data defining this vector.
|
![]() | ScaleBy |
Scale this vector by the specified scale factor.
|
![]() | SubtractVector |
Subtract the specified vector from this vector.
|
![]() | ToString |
Returns a string representation of this vector.
(Overrides Object.ToString().) |
![]() | TransformBy |
Transform this vector by the specified matrix.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Add vector to vector.
Like AddVector(), but creates a new object.
|
![]() ![]() | Subtraction |
Subtract vector from vector.
Like SubtractVector(), but creates a new object.
|