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()
    
   
  
  Assembly: Xbim.Tessellator.dll
  Syntax
  
  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
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  Y
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  Z
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  Zero
  
  
  Declaration
  
    public static readonly Vec3 Zero
   
  Field Value
  
  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
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Angle(ref Vec3, ref Vec3)
  
  
  Declaration
  
    public static double Angle(ref Vec3 v1, ref Vec3 v2)
   
  Parameters
  
  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
  
  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
  
  
    |
    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