Search Results for

    Show / Hide Table of Contents

    Struct Vec3

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Xbim.Tessellator
    Assembly: Xbim.Tessellator.dll
    Syntax
    public struct Vec3

    Constructors

    | Improve this Doc View Source

    Vec3(Double, Double, Double)

    Declaration
    public Vec3(double x, double y, double z)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    System.Double z

    Fields

    | Improve this Doc View Source

    X

    Declaration
    public double X
    Field Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Y

    Declaration
    public double Y
    Field Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Z

    Declaration
    public double Z
    Field Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Zero

    Declaration
    public static readonly Vec3 Zero
    Field Value
    Type Description
    Vec3

    Properties

    | Improve this Doc View Source

    IsValid

    Declaration
    public readonly bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public double this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Length

    Declaration
    public readonly double Length { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Length2

    Declaration
    public readonly double Length2 { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    AddTo(ref Vec3, ref Vec3)

    Declaration
    public static void AddTo(ref Vec3 lhs, ref Vec3 rhs)
    Parameters
    Type Name Description
    Vec3 lhs
    Vec3 rhs
    | Improve this Doc View Source

    Angle(ref Vec3, ref Vec3)

    Declaration
    public static double Angle(ref Vec3 v1, ref Vec3 v2)
    Parameters
    Type Name Description
    Vec3 v1
    Vec3 v2
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Colinear(Vec3, Vec3, Vec3)

    Declaration
    public static bool Colinear(Vec3 a, Vec3 b, Vec3 c)
    Parameters
    Type Name Description
    Vec3 a
    Vec3 b
    Vec3 c
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Cross(ref Vec3, ref Vec3, out Vec3)

    Declaration
    public static void Cross(ref Vec3 u, ref Vec3 v, out Vec3 cross)
    Parameters
    Type Name Description
    Vec3 u
    Vec3 v
    Vec3 cross
    | Improve this Doc View Source

    Dot(ref Vec3, ref Vec3, out Double)

    Declaration
    public static void Dot(ref Vec3 u, ref Vec3 v, out double dot)
    Parameters
    Type Name Description
    Vec3 u
    Vec3 v
    System.Double dot
    | Improve this Doc View Source

    LongAxis(ref Vec3)

    Declaration
    public static int LongAxis(ref Vec3 v)
    Parameters
    Type Name Description
    Vec3 v
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Neg(ref Vec3)

    Declaration
    public static void Neg(ref Vec3 v)
    Parameters
    Type Name Description
    Vec3 v
    | Improve this Doc View Source

    Normalize(ref Vec3)

    Declaration
    public static bool Normalize(ref Vec3 v)
    Parameters
    Type Name Description
    Vec3 v
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Sub(ref Vec3, ref Vec3, out Vec3)

    Declaration
    public static void Sub(ref Vec3 lhs, ref Vec3 rhs, out Vec3 result)
    Parameters
    Type Name Description
    Vec3 lhs
    Vec3 rhs
    Vec3 result
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim