#include <sse_vector_2f64.h>
The class and the default constructor are always defined. The functions of this class are only defined when C4D_HAS_SSE2_CAPABILITY is set. Instances of this class must be aligned to 16 bytes. The layout in the memory is as follows: address + 0 + 1 R0 R1
Public Types | |
| using | ValueType = Float64 | 
Public Member Functions | |
| Vector2f64 ()=default | |
| MAXON_ATTRIBUTE_FORCE_INLINE | Vector2f64 (Float64 d0, Float64 d1) | 
| MAXON_ATTRIBUTE_FORCE_INLINE | Vector2f64 (const Float64 *p, Bool aligned) | 
| MAXON_ATTRIBUTE_FORCE_INLINE void | LoadUnaligned (const Float64 *p) | 
| MAXON_ATTRIBUTE_FORCE_INLINE void | LoadAligned (const Float64 *p) | 
Protected Attributes | |
| union { | |
| Float64 v [2] | |
| }; | |
Friends | |
| Vector4f32 | ConvertToVector4f32 (const Vector2f64 &a, const Vector2f64 &b) | 
| Vector4f32 | ConvertToVector4f32 (const Vector2f64 &a) | 
| void | ConvertToVectors2f64 (const Vector4f32 &a, Vector2f64 &result1, Vector2f64 &result2) | 
      
  | 
  default | 
Constructs the object. It does not set a default value.
      
  | 
  explicit | 
Constructs the object and sets all values to f0...f3.
| [in] | d0 | The value that is assigned to vector element 0. | 
| [in] | d1 | The value that is assigned to vector element 1. | 
      
  | 
  explicit | 
Constructs a vector from an address in the memory.
| [in] | p | The address where the vector is loaded from. | 
| [in] | aligned | Should be set to true, if #p is known to be 16-byte aligned. | 
| MAXON_ATTRIBUTE_FORCE_INLINE void LoadUnaligned | ( | const Float64 * | p | ) | 
Loads a vector from an address in the memory.
| [in] | p | The address where the vector is loaded from. | 
| MAXON_ATTRIBUTE_FORCE_INLINE void LoadAligned | ( | const Float64 * | p | ) | 
Loads a vector from an address in the memory.
| [in] | p | The address where the vector is loaded from. It must be 16-byte aligned. | 
      
  | 
  friend | 
Converts two Vector2f64 to a Vector4f32 vector.
      
  | 
  friend | 
Converts one Vector2f64 to a Vector4f32 vector.
      
  | 
  friend | 
| Float64 v[2] | 
| union { ... } |