Vector Class |
Namespace: DHI.Mike1D.Generic.Spatial.Geometry
public class Vector
The Vector type exposes the following members.
Name | Description | |
---|---|---|
Add |
Add vector, updating this vector
| |
Angle |
Mathematical angle, in radians, from positive x-axis and counter-clockwise.
Value is between -pi <= theta <= pi | |
Dot |
Calculate the dot product of two vectors
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Length |
Vector length
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Normalize |
Normalize vector to length 1.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
YAngle |
Compass heading, in radians, from positive y-axis and clock-wise.
Value is between -pi <= theta <= pi |
Name | Description | |
---|---|---|
Addition |
Add this vector and another vector, returning a new vector
| |
Multiply |
Multiply the vector with the provided factor
|