Public Class DocumentUnitsVector2d Inherits DocumentUnitsGeometry
public class DocumentUnitsVector2d : DocumentUnitsGeometry
The DocumentUnitsVector2d type exposes the following members.
| Name | Description | |
|---|---|---|
| DocumentUnitsVector2d |
Constructor of DocumentUnitsVector2d.
|
| 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.
|
| 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.
| |
| 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.
|
| 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.
|