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 Basis

    Class defining a basis in three-dimensional euclidean space.

    Inheritance
    Object
    Basis
    Namespace: BRIDGES.Geometry.Euclidean3D
    Assembly: BRIDGES.dll
    Syntax
    public class Basis : IEquatable<Basis>
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    Constructors

    | Improve this Doc View Source

    Basis(Basis)

    Initialises a new instance of the Basis class from another Basis.

    Declaration
    public Basis(Basis basis)
    Parameters
    Type Name Description
    Basis basis

    Basis to copy.

    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    Basis(Vector, Vector, Vector)

    Initialises a new instance of the Basis class by defining its three linearly independent axes.

    Declaration
    public Basis(Vector xAxis, Vector yAxis, Vector zAxis)
    Parameters
    Type Name Description
    Vector xAxis

    First axis of the Basis.

    Vector yAxis

    Second axis of the Basis.

    Vector zAxis

    Third axis of the Basis.

    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    Basis(Vector[])

    Initialises a new instance of the Basis class by defining its axes.

    Declaration
    public Basis(Vector[] axes)
    Parameters
    Type Name Description
    Vector[] axes

    Set of axes.

    Remarks

    For a basis placed at an origin Point, refer to Frame.

    Properties

    | Improve this Doc View Source

    Dimension

    Gets the number of axes of the current Basis.

    Declaration
    public int Dimension { get; }
    Property Value
    Type Description
    Int32
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    Item[Int32]

    Gets the axis of the current Basis at the given index.

    Declaration
    public Vector this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index

    Index of the axis to retrieve.

    Property Value
    Type Description
    Vector

    The axis at the given index.

    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    XAxis

    Gets the first axis of the current Basis.

    Declaration
    public Vector XAxis { get; }
    Property Value
    Type Description
    Vector
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    YAxis

    Gets the second axis of the current Basis.

    Declaration
    public Vector YAxis { get; }
    Property Value
    Type Description
    Vector
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    ZAxis

    Gets the third axis of the current Basis.

    Declaration
    public Vector ZAxis { get; }
    Property Value
    Type Description
    Vector
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    Methods

    | Improve this Doc View Source

    Equals(Basis)

    Evaluates whether the current Basis is equal to another Basis.

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

    Basis to compare with.

    Returns
    Type Description
    Boolean

    true if the two Basis are equal, false otherwise.

    Remarks

    Two Basis are equal if their corresponding Vector axes are equal.

    | Improve this Doc View Source

    Equals(Object)

    Class defining a basis in three-dimensional euclidean space.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    GetHashCode()

    Class defining a basis in three-dimensional euclidean space.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    IsOrthogonal(Basis)

    Evaluates whether a the axis of a basis are orthogonal to one another.

    Declaration
    public static bool IsOrthogonal(Basis basis)
    Parameters
    Type Name Description
    Basis basis

    Basis to evaluate.

    Returns
    Type Description
    Boolean

    true if the axes are orthogonal, false otherwise.

    Remarks

    For a basis placed at an origin Point, refer to Frame.

    | Improve this Doc View Source

    ToString()

    Class defining a basis in three-dimensional euclidean space.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Remarks

    For a basis placed at an origin Point, refer to Frame.

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