• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Vim.Math3d
    • AABox
    • AABox2D
    • AABox4D
    • AngularMotion
    • AxisAngle
    • Byte2
    • Byte3
    • Byte4
    • ColorHDR
    • ColorRGB
    • ColorRGBA
    • Complex
    • Constants
    • ContainmentType
    • CylindricalCoordinate
    • DAABox
    • DAABox2D
    • DAABox4D
    • DInterval
    • DPlane
    • DQuaternion
    • DRay
    • DSphere
    • DVector2
    • DVector3
    • DVector4
    • Euler
    • GeoCoordinate
    • Hash
    • HorizontalCoordinate
    • IMappable<TContainer, TPart>
    • Int2
    • Int3
    • Int4
    • Interval
    • IPoints
    • IPoints2D
    • ITransformable3D<TSelf>
    • Line
    • Line2D
    • LinearMotion
    • LinqUtil
    • LogPolarCoordinate
    • MathOps
    • Matrix4x4
    • Motion
    • MovementExtensions
    • Plane
    • PlaneIntersectionType
    • PolarCoordinate
    • Quad
    • Quad2D
    • Quaternion
    • Ray
    • Sphere
    • SphericalCoordinate
    • StatelessRandom
    • Stats<T>
    • Transform
    • Transformable3D
    • Triangle
    • Triangle2D
    • Vector2
    • Vector3
    • Vector4

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 Source

DSphere((DVector3 center, Double radius))

public DSphere((DVector3 center, double radius) tuple)
View Source

DSphere(DVector3, Double)

public DSphere(DVector3 center, double radius)

Fields

View Source

Center

[DataMember]
public readonly DVector3 Center
View Source

MaxValue

public static DSphere MaxValue
View Source

MinValue

public static DSphere MinValue
View Source

Radius

[DataMember]
public readonly double Radius
View Source

Zero

public static DSphere Zero

Methods

View Source

AlmostEquals(DSphere, Single)

public readonly bool AlmostEquals(DSphere x, float tolerance = 1E-07F)
View Source

Create((DVector3 center, Double radius))

public static DSphere Create((DVector3 center, double radius) tuple)
View Source

Create(DVector3, Double)

public static DSphere Create(DVector3 center, double radius)
View Source

Deconstruct(out DVector3, out Double)

public readonly void Deconstruct(out DVector3 center, out double radius)
View Source

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)
View Source

GetHashCode()

public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source

SetCenter(DVector3)

public readonly DSphere SetCenter(DVector3 x)
View Source

SetRadius(Double)

public readonly DSphere SetRadius(double x)
View Source

ToString()

public override readonly string ToString()
Overrides
System.ValueType.ToString()

Operators

View Source

Equality(DSphere, DSphere)

public static bool operator ==(DSphere x0, DSphere x1)
View Source

Implicit((DVector3 center, Double radius) to DSphere)

public static implicit operator DSphere((DVector3 center, double radius) tuple)
View Source

Implicit(DSphere to (DVector3 center, Double radius))

public static implicit operator (DVector3 center, double radius)(DSphere self)
View Source

Inequality(DSphere, DSphere)

public static bool operator !=(DSphere x0, DSphere x1)

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX