Struct DRay
Implements
System.IEquatable<DRay>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct DRay : IEquatable<DRay>
Constructors
View SourceDRay((DVector3 position, DVector3 direction))
public DRay((DVector3 position, DVector3 direction) tuple)
DRay(DVector3, DVector3)
public DRay(DVector3 position, DVector3 direction)
Fields
View SourceDirection
[DataMember]
public readonly DVector3 Direction
MaxValue
public static DRay MaxValue
MinValue
public static DRay MinValue
Position
[DataMember]
public readonly DVector3 Position
Zero
public static DRay Zero
Methods
View SourceAlmostEquals(DRay, Single)
public readonly bool AlmostEquals(DRay x, float tolerance = 1E-07F)
Create((DVector3 position, DVector3 direction))
public static DRay Create((DVector3 position, DVector3 direction) tuple)
Create(DVector3, DVector3)
public static DRay Create(DVector3 position, DVector3 direction)
Deconstruct(out DVector3, out DVector3)
public readonly void Deconstruct(out DVector3 position, out DVector3 direction)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(DRay)
public readonly bool Equals(DRay x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetDirection(DVector3)
public readonly DRay SetDirection(DVector3 x)
SetPosition(DVector3)
public readonly DRay SetPosition(DVector3 x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(DRay, DRay)
public static bool operator ==(DRay x0, DRay x1)
Implicit((DVector3 position, DVector3 direction) to DRay)
public static implicit operator DRay((DVector3 position, DVector3 direction) tuple)
Implicit(DRay to (DVector3 position, DVector3 direction))
public static implicit operator (DVector3 position, DVector3 direction)(DRay self)
Inequality(DRay, DRay)
public static bool operator !=(DRay x0, DRay x1)
Implements
System.IEquatable<T>