Provides script language access to C++ objects of this type.
Class Hierarchy | No registered superclass. |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
<Float64Vector> | Float64Vector | Constructs a <Float64Vector> object with the specified X, Y, Z, and W values. |
int32 | Add | Adds the vector 'A' to this vector. |
int32 | AddScaled | Scales the vector 'A' by 'Scale', then adds the result to this vector. |
int32 | Assign | Assigns the components from the vector 'Other' to 'this'. |
int32 | BindIterators | Binds iterators to this object. |
int32 | BindPointer | Binds a <MemoryPointer> or subclass to this object. The <MemoryPointer> becomes a pointer to this object that can be passed to compatible functions. |
int32 | Blend | Interpolates this vector and 'End', using 1.0 - 'Alpha' and 'Alpha' as the blending weights. |
int32 | BlendAB | Interpolates the vectors 'Start' and 'End', using 'AlphaA' and 1.0 - 'AlphaA' as the blending weights, respectively. |
int32 | BlendABC | This option is undocumented at present. |
int32 | Cross | Computes the cross product between 'A' and 'B', and stores the result in this vector. |
double | DistanceToLine | Calculates the distance from 'this' to a line which passes through two vectors 'A' and 'B'. |
double | Dot | Returns the dot product of this vector and the vector 'A'. |
int32 | ElementSize | Returns the size of the component of the vector, which is sizeof( double ), or 8 bytes. |
int32 | Fill | Fills the vector with the specified value. |
<Float64Iterator> | First | Returns an iterator positioned at the start of the collection. |
double | GetComponent | Returns the vector component value at the specified index. |
double | GetDistance | Returns the distance between this vector and the vector 'End'. |
double | GetDistanceXY | Returns the distance between this vector and the vector 'End'. |
<Float64Pointer> | GetPointer | Returns a pointer to this object. The pointer object is allocated with new so you must use auto in the declaration or you must manually delete the pointer object. For example: auto Float64Pointer ptr = object.GetPointer(). |
<Float64ArrayView> | GetView | Returns a <Float64ArrayView> that contains first and last iterators for the collection. |
<Float64Iterator> | Last | Returns an iterator positioned at the end of the collection. |
double | LengthXY | Returns the 2-dimensional (x, y) length of the vector. |
double | Maximize | Selects the maximum values for each component of 'this' and the vector 'A', and assigns the values to 'this'. |
double | Minimize | Selects the minimum values for each component of 'this' and the vector 'A', and assigns the values to 'this'. |
int32 | Multiply | Multiplies this vector with the vector 'A'. |
double | Normalize | Scales the vector, placing it on the unit sphere. |
string | Returns a string containing the values of the vector. | |
int32 | ProjectOnto | Projects this vector onto the vector 'ProjectOnto'. |
int32 | Scale | Scales this vector with the scalar value 'Scale'. |
int32 | Set | Sets the X, Y, Z, and W components of the vector. |
int32 | SetComponent | Sets the vector component at the specified index. |
int32 | SetDistance | Moves the vector a specified distance from the vector 'End'. |
int32 | SizeInBytes | Returns the size in bytes of the <Float64Vector>, which is 4 * <float64>, or 32 bytes. |
int32 | Subtract | Subtracts the vector 'A' from this vector. |
int32 | Transform | Undocumented |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Float64Vector> | Value | Returns the value of this object's underlying <Float64Vector> object. For example: to assign the value of this object to another <Float64Vector> object using the syntax 'vec4A.Value = vec4B.Value'. |
double | Length | Gets or sets the length of this vector, which is the distance from this vector to the origin. |
double | W | Gets or sets the W component of the vector. |
double | X | Gets or sets the X component of the vector. |
double | Y | Gets or sets the Y component of the vector. |
double | Z | Gets or sets the Z component of the vector. |