Struct DSphere
Implements
System.IEquatable<DSphere>
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 DSphere : IEquatable<DSphere>
Constructors
View SourceDSphere((DVector3 center, Double radius))
public DSphere((DVector3 center, double radius) tuple)
DSphere(DVector3, Double)
public DSphere(DVector3 center, double radius)
Fields
View SourceCenter
[DataMember]
public readonly DVector3 Center
MaxValue
public static DSphere MaxValue
MinValue
public static DSphere MinValue
Radius
[DataMember]
public readonly double Radius
Zero
public static DSphere Zero
Methods
View SourceAlmostEquals(DSphere, Single)
public readonly bool AlmostEquals(DSphere x, float tolerance = 1E-07F)
Create((DVector3 center, Double radius))
public static DSphere Create((DVector3 center, double radius) tuple)
Create(DVector3, Double)
public static DSphere Create(DVector3 center, double radius)
Deconstruct(out DVector3, out Double)
public readonly void Deconstruct(out DVector3 center, out double radius)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(DSphere)
public readonly bool Equals(DSphere x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetCenter(DVector3)
public readonly DSphere SetCenter(DVector3 x)
SetRadius(Double)
public readonly DSphere SetRadius(double x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(DSphere, DSphere)
public static bool operator ==(DSphere x0, DSphere x1)
Implicit((DVector3 center, Double radius) to DSphere)
public static implicit operator DSphere((DVector3 center, double radius) tuple)
Implicit(DSphere to (DVector3 center, Double radius))
public static implicit operator (DVector3 center, double radius)(DSphere self)
Inequality(DSphere, DSphere)
public static bool operator !=(DSphere x0, DSphere x1)
Implements
System.IEquatable<T>