Search Results for

    Show / Hide Table of Contents

    Struct Vector3D

    Represents a geometric 3D vector.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: TopSolid.Kernel.Automating
    Assembly: TopSolid.Kernel.Automating.dll
    Syntax
    [DataContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    public struct Vector3D
    Remarks

    This structure is available since v7.6.

    Constructors

    Name Description
    Vector3D(double, double, double)

    Initializes a new instance of the Vector3D structure with its coordinates.

    Fields

    Name Description
    V0

    Null vector, i.e. (0,0,0).

    VX

    Positive X unit vector, i.e. (1,0,0).

    VY

    Positive Y unit vector, i.e. (0,1,0).

    VZ

    Positive Z unit vector, i.e. (0,0,1).

    X

    X component.

    Y

    Y component.

    Z

    Z component.

    Properties

    Name Description
    Norm

    Gets the vector's norm.

    Operators

    Name Description
    operator +(Vector3D, Vector3D)

    Adds two vectors.

    operator /(Vector3D, double)

    Divides a vector by a double value.

    operator ^(Vector3D, Vector3D)

    Computes the cross product of two vectors.

    explicit operator Direction3D(Vector3D)

    Casts a vector into a direction.

    operator *(double, Vector3D)

    Multiplies a double value and a vector.

    operator *(Vector3D, double)

    Multiplies a vector and a double value.

    operator *(Vector3D, Vector3D)

    Computes the dot product of two vectors.

    operator -(Vector3D, Vector3D)

    Subtracts two vectors.

    operator -(Vector3D)

    Negates a vector.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.