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

CloneReturns a clone of the VectorF_3D.
xSets or gets the x coordinate of the vector.
ySets or gets the y coordinate of the vector.
zSets or gets the z coordinate of the vector.

Methods

AbsDoes Absolute value on the Vector.
AngleCalculates the angle between two vectors.
ClampTrims values in the vector to values between minimum and maximum ranges.
DistanceReturns the distance to another vector.
EqualReturns true if two vectors are equal.
LengthReturns the length of the vector.
NormalizeNormalizes the vector.
Operator_AddA + operator to be able to add two vectors together.
Operator_CompareA operator to make comparison such as =, >, < and other such work on the VectorF_3D class.
Operator_DivideA / operator to be able to divide two vectors.
Operator_MultiplyA * operator to be able to multiply the vector with a floating point number.
Operator_MultiplyA * operator to be able to multiply two vectors together.
Operator_NegateA negate operator to be able to return the negate a vector.
Operator_SubtractA - operator to be able to subtract a vector from another.
PitchPitch, roll and yaw are defined as the rotation around X, Y and Z axis.
RollPitch, roll and yaw are defined as the rotation around X, Y and Z axis.
ScaleScales the vector by a given factor.
SetSets all the values of the vector in one call.
YewPitch, roll and yaw are defined as the rotation around X, Y and Z axis.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS