Parameters:

  • cX, cY, cZ: real – coordinates of point.


Methods:

  • Init – create 3D point with 3 coordinates

  • Init_arr – create 3D point with array of 3 coordinates

  • Scale – scales coords of 3d point by constant num

  • Inverse – get a 3D point with coordinates opposite in sign to the original ones

  • Length – get the distance from the origin of the coordinate system to a 3D point

  • DistanceTo – get the distance from the origin of the coordinate system to a 3D point

  • Norm – get normalized 3D point

  • Add – add another 3D point to the original

  • Subtract – substract another 3D point from the original

  • VmV – get the scalar product of the original vector and another one

  • VxV – get the vector product of the original vector and another one