TypeLibF Xojo Plugin

VectorF_3D Class (console safe)

This class defines a 3D vector structure that uses floating point precision.

Object
   VectorF_3D

class VectorF_3D

Constructors

VectorF_3DThe default constructor
VectorF_3DA constructor that takes x,y and z coordinates as parameters.

Properties

Clone (console safe) Returns a clone of the VectorF_3D.
x (console safe) Sets or gets the x coordinate of the vector.
y (console safe) Sets or gets the y coordinate of the vector.
z (console safe) Sets or gets the z coordinate of the vector.

Methods

Abs (console safe) Does Absolute value on the Vector.
Angle (console safe) Calculates the angle between two vectors.
Clamp (console safe) Trims values in the vector to values between minimum and maximum ranges.
Distance (console safe) Returns the distance to another vector.
Equal (console safe) Returns true if two vectors are equal.
Length (console safe) Returns the length of the vector.
Normalize (console safe) Normalizes the vector.
Operator_Add (console safe) A + operator to be able to add two vectors together.
Operator_Compare (console safe) A operator to make comparison such as =, >, < and other such work on the VectorF_3D class.
Operator_Divide (console safe) A / operator to be able to divide two vectors.
Operator_Multiply (console safe) A * operator to be able to multiply two vectors together.
Operator_Multiply (console safe) A * operator to be able to multiply the vector with a floating point number.
Operator_Negate (console safe) A negate operator to be able to return the negate a vector.
Operator_Subtract (console safe) A - operator to be able to subtract a vector from another.
Pitch (console safe) Pitch, roll and yaw are defined as the rotation around X, Y and Z axis.
Roll (console safe) Pitch, roll and yaw are defined as the rotation around X, Y and Z axis.
Scale (console safe) Scales the vector by a given factor.
Set (console safe) Sets all the values of the vector in one call.
Yew (console safe) Pitch, roll and yaw are defined as the rotation around X, Y and Z axis.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM