Assembly: VMAppCore.dll This class is to represent the vector.
Inheritance
object ← VectorBase ← VectorInherited Members
VectorBase.GetArray(), VectorBase.Set(double, double, double), VectorBase.Set(double[]), VectorBase.Set(VectorBase), VectorBase.DotProduct(VectorBase), VectorBase.CrossProduct(VectorBase), VectorBase.GetDistance(VectorBase), VectorBase.GetOrthoVector(VectorBase), VectorBase.GetOrthoVector(), VectorBase.MakeUnitVector(), VectorBase.Clone(), VectorBase.ToString(), VectorBase.Equals(object), VectorBase.GetObjectData(SerializationInfo, StreamingContext), VectorBase.op_AdditionAssignment(VectorBase, VectorBase), VectorBase.op_SubtractionAssignment(VectorBase, VectorBase), VectorBase.op_MultiplicationAssignment(VectorBase, double), VectorBase.op_MultiplicationAssignment(VectorBase, VectorBase), VectorBase.op_DivisionAssignment(VectorBase, double), VectorBase.Magnitude, VectorBase.this[uint], VectorBase.this[Coordinate], VectorBase.Z, VectorBase.Y, VectorBase.XExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
Vector(double[])
Initializes a new instance of the Vector class.Parameters
arVec double[]
The arVec.
Vector(double, double, double)
Initializes a new instance of the Vector class.Parameters
dX double
The X.
dY double
The Y.
dZ double
The Z.
Vector(VectorBase)
Initializes a new instance of the Vector class.Parameters
vec VectorBase
The vec.
Vector()
Initializes a new instance of the Vector class.Vector(SerializationInfo, StreamingContext)
Initializes a new instance of the Vector class.Parameters
info SerializationInfo
The info.
context StreamingContext
The context.
Properties
Magnitude
Gets the magnitude of vector(UInt32).Property Value
doubleX
Gets or sets the X of vector.Property Value
doubleY
Gets or sets the Y of vector.Property Value
doubleZ
Gets or sets the Z of vector.Property Value
doublethis[uint]
Property Value
doublethis[Coordinate]
Property Value
doubleMethods
Clone()
clone.Returns
object The clone.CrossProduct(VectorBase)
Cross product.Parameters
vec VectorBase
The vec.
Returns
Vector Result of productDotProduct(VectorBase)
Dot product.Parameters
vec VectorBase
The vec.
Returns
double Result of productGetArray()
Gets the array.Returns
double[] The array.GetDistance(VectorBase)
Gets the distance.Parameters
vec VectorBase
The vec.
Returns
double The distanceGetObjectData(SerializationInfo, StreamingContext)
Customize the GetObjectData function.Parameters
info SerializationInfo
The info.
__unnamed001 StreamingContext
GetOrthoVector(VectorBase)
Gets the ortho vector.Parameters
vecCandidate VectorBase
The candidate.
Returns
Vector The ortho vector.GetOrthoVector()
Gets the ortho vector.Returns
Vector The ortho vector.GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.Returns
XmlSchemaMakeUnitVector()
Mate unit vector.ReadXml(XmlReader)
Generates an object from its XML representation.Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
Set(double, double, double)
Sets the value of vector.Parameters
dX double
The X.
dY double
The Y.
dZ double
The Z.
Set(double[])
Sets the value of vector.Parameters
arr double[]
The arr.
Set(VectorBase)
Sets the value of vector.Parameters
vec VectorBase
The vec.
WriteXml(XmlWriter)
Converts an object into its XML representation.Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.
Operators
implicit operator Vector(Vector)
Parameters
vec Vector
Returns
Vectorimplicit operator Vector(Vector)
Parameters
vec Vector