Struct XbimVector3D
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Xbim.Common.dll
Syntax
public struct XbimVector3D : IVector3D
Constructors
|
Improve this Doc
View Source
XbimVector3D(Double)
Declaration
public XbimVector3D(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
|
Improve this Doc
View Source
XbimVector3D(Double, Double, Double)
Declaration
public XbimVector3D(double vx, double vy, double vz)
Parameters
Type |
Name |
Description |
System.Double |
vx |
|
System.Double |
vy |
|
System.Double |
vz |
|
Fields
|
Improve this Doc
View Source
X
Declaration
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Y
Declaration
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Z
Declaration
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Zero
Declaration
public static readonly XbimVector3D Zero
Field Value
Properties
|
Improve this Doc
View Source
Length
Declaration
public readonly double Length { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Modulus
Declaration
public readonly double Modulus { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Improve this Doc
View Source
Add(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D Add(XbimVector3D vector1, XbimVector3D vector2)
Parameters
Returns
|
Improve this Doc
View Source
Angle(XbimVector3D)
Declaration
public double Angle(XbimVector3D other)
Parameters
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CrossProduct(XbimVector3D)
Declaration
public XbimVector3D CrossProduct(XbimVector3D v2)
Parameters
Returns
|
Improve this Doc
View Source
CrossProduct(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D CrossProduct(XbimVector3D v1, XbimVector3D v2)
Parameters
Returns
|
Improve this Doc
View Source
DotProduct(XbimVector3D)
Declaration
public double DotProduct(XbimVector3D v2)
Parameters
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
DotProduct(XbimVector3D, XbimVector3D)
Declaration
public static double DotProduct(XbimVector3D v1, XbimVector3D v2)
Parameters
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object ob)
Parameters
Type |
Name |
Description |
System.Object |
ob |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
IsEqual(XbimVector3D, Double)
Declaration
public bool IsEqual(XbimVector3D b, double precision = 1E-09)
Parameters
Type |
Name |
Description |
XbimVector3D |
b |
|
System.Double |
precision |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsInvalid()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNormal(XbimVector3D, Double)
Returns true if the vectors are normal
Declaration
public bool IsNormal(XbimVector3D other, double angularTolerance)
Parameters
Type |
Name |
Description |
XbimVector3D |
other |
other vector
|
System.Double |
angularTolerance |
Tolerance in radians
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsOpposite(XbimVector3D, Double)
Returns true if the angle is less than tolerance
Declaration
public bool IsOpposite(XbimVector3D other, double angularTolerance)
Parameters
Type |
Name |
Description |
XbimVector3D |
other |
other vector
|
System.Double |
angularTolerance |
Tolerance in radians
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsParallel(XbimVector3D, Double)
Returns true if the vectors are parallel
Declaration
public bool IsParallel(XbimVector3D other, double angularTolerance)
Parameters
Type |
Name |
Description |
XbimVector3D |
other |
other vector
|
System.Double |
angularTolerance |
Tolerance in radians
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Max(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D Max(XbimVector3D a, XbimVector3D b)
Parameters
Returns
|
Improve this Doc
View Source
Min(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D Min(XbimVector3D a, XbimVector3D b)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Double, XbimVector3D)
Declaration
public static XbimVector3D Multiply(double val, XbimVector3D vec)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(XbimVector3D, XbimMatrix3D)
Declaration
public static XbimVector3D Multiply(XbimVector3D vec, XbimMatrix3D m)
Parameters
Returns
|
Improve this Doc
View Source
Negated()
Returns a new vector pointing in the opposite direction
Declaration
public XbimVector3D Negated()
Returns
|
Improve this Doc
View Source
Normalized()
Declaration
public XbimVector3D Normalized()
Returns
|
Improve this Doc
View Source
Subtract(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D Subtract(XbimVector3D vector1, XbimVector3D vector2)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Addition(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D operator +(XbimVector3D vector1, XbimVector3D vector2)
Parameters
Returns
|
Improve this Doc
View Source
Equality(XbimVector3D, XbimVector3D)
Declaration
public static bool operator ==(XbimVector3D v1, XbimVector3D v2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(XbimVector3D, XbimVector3D)
Declaration
public static bool operator !=(XbimVector3D v1, XbimVector3D v2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply(Double, XbimVector3D)
Declaration
public static XbimVector3D operator *(double l, XbimVector3D v1)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(XbimVector3D, Double)
Declaration
public static XbimVector3D operator *(XbimVector3D v1, double l)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(XbimVector3D, XbimMatrix3D)
Declaration
public static XbimVector3D operator *(XbimVector3D v1, XbimMatrix3D m)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction(XbimVector3D, XbimVector3D)
Declaration
public static XbimVector3D operator -(XbimVector3D vector1, XbimVector3D vector2)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IVector3D.X
Declaration
readonly double IVector3D.X { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
IVector3D.Y
Declaration
readonly double IVector3D.Y { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
IVector3D.Z
Declaration
readonly double IVector3D.Z { get; }
Returns
Type |
Description |
System.Double |
|
Implements