BRIDGES
  • Articles
  • BRIDGES
Search Results for

    Show / Hide Table of Contents
    • Settings
    • LinearAlgebra
      • Vectors
        • DenseVector
        • SparseVector
        • Vector
      • Factorisation
        • SparseQR
      • Matrices
        • DenseMatrix
        • Matrix
        • SparseMatrix
        • Sparse
          • CompressedColumn
          • CompressedRow
        • Storage
          • DictionaryOfKeys
    • Algebra
      • Measure
        • IDotProduct<TSelf, TValue>
        • IMetric<TSelf>
        • INorm<TSelf>
      • Sets
        • IGroupAction<TSelf, TValue>
      • Fundamentals
        • IAddable<T>
    • Solvers
      • GuidedProjection
        • Energy
        • GuidedProjectionAlgorithm
        • LinearisedConstraint
        • QuadraticConstraint
        • VariableSet
        • EnergyTypes
          • SegmentOrthogonality
          • SegmentParallelity
        • Interfaces
          • IEnergyType
          • ILinearisedConstraintType
          • IQuadraticConstraintType
        • QuadraticConstraintTypes
          • CoherentLength
          • LowerBound
          • UpperBound
          • VectorLength
    • Arithmetic
      • Polynomials
        • Multivariate
          • Monomial
          • Polynomial
        • Univariate
          • Polynomial
          • Specials
            • Bernstein
            • BSpline
      • Numbers
        • Complex
        • Quaternion
        • Real
    • Geometry
      • Euclidean3D
        • Basis
        • BSplineCurve
        • BSplineSurface
        • Circle
        • Frame
        • Line
        • NurbsCurve
        • NurbsSurface
        • Plane
        • Point
        • Polyline
        • Ray
        • Segment
        • Sphere
        • Vector
      • Kernel
        • BSplineCurve<TPoint>
        • BSplineSurface<TPoint>
        • CurveParameterFormat
        • IGeometricallyEquatable<T>
      • Projective3D
        • Point
    • DataStructures
      • PolyhedralMeshes
        • IEdge<TPosition>
        • IFace<TPosition>
        • IMesh<TPosition>
        • IVertex<TPosition>
        • FaceVertexMesh
          • Edge<TPosition>
          • Face<TPosition>
          • Mesh<TPosition>
          • Vertex<TPosition>
        • Abstract
          • Edge<TPosition, TVertex, TEdge, TFace>
          • Face<TPosition, TVertex, TEdge, TFace>
          • Mesh<TPosition, TVertex, TEdge, TFace>
          • Vertex<TPosition, TVertex, TEdge, TFace>
        • HalfedgeMesh
          • Edge<TPosition>
          • Face<TPosition>
          • Halfedge<TPosition>
          • Mesh<TPosition>
          • Vertex<TPosition>

    Class Sphere

    Class defining a sphere in three-dimensional euclidean space.

    Inheritance
    Object
    Sphere
    Implements
    IGeometricallyEquatable<Sphere>
    Namespace: BRIDGES.Geometry.Euclidean3D
    Assembly: BRIDGES.dll
    Syntax
    public class Sphere : IEquatable<Sphere>, IGeometricallyEquatable<Sphere>

    Constructors

    | Improve this Doc View Source

    Sphere(Frame, Double)

    Initialises a new instance of the Sphere class by defining its centre and radius.

    Declaration
    public Sphere(Frame frame, double radius)
    Parameters
    Type Name Description
    Frame frame

    Orthogonal frame defining the centre and orientation of the Sphere.

    Double radius

    Radius of the Sphere.

    | Improve this Doc View Source

    Sphere(Point, Double)

    Initialises a new instance of the Sphere class by defining its centre and radius.

    Declaration
    public Sphere(Point centre, double radius)
    Parameters
    Type Name Description
    Point centre

    Centre of the Sphere.

    Double radius

    Radius of the Sphere.

    Properties

    | Improve this Doc View Source

    Centre

    Gets or sets the centre of the current Sphere.

    Declaration
    public Point Centre { get; set; }
    Property Value
    Type Description
    Point
    | Improve this Doc View Source

    Frame

    Gets or sets the orthogonal frame defining the centre and the orientation of the current Sphere.

    Declaration
    public Frame Frame { get; set; }
    Property Value
    Type Description
    Frame
    | Improve this Doc View Source

    Radius

    Gets or sets the radius of the current Sphere.

    Declaration
    public double Radius { get; set; }
    Property Value
    Type Description
    Double

    Methods

    | Improve this Doc View Source

    Equals(Sphere)

    Evaluates whether the current Sphere is memberwise equal to another Sphere.

    Declaration
    public bool Equals(Sphere other)
    Parameters
    Type Name Description
    Sphere other

    Sphere to compare with.

    Returns
    Type Description
    Boolean

    true if the two Sphere are equal, false otherwise.

    Remarks

    Two Sphere are equal if their centre and radius are equal.

    | Improve this Doc View Source

    Equals(Object)

    Class defining a sphere in three-dimensional euclidean space.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    GeometricallyEquals(Sphere)

    Evaluates whether the current object is geometrically equal to the given T.

    Declaration
    public bool GeometricallyEquals(Sphere other)
    Parameters
    Type Name Description
    Sphere other
    Returns
    Type Description
    Boolean

    true if the two objects are geometrically equal, false otherwise.

    | Improve this Doc View Source

    GetHashCode()

    Class defining a sphere in three-dimensional euclidean space.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    ToString()

    Class defining a sphere in three-dimensional euclidean space.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Implements

    IGeometricallyEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top By ENPC and the Build'In Platform