realPointOrVector Method

Convert the homogeneous point to a (strongly typed) point or vector.

  • If this.w is nonzero, return a Point3d (x/w,y/w,z/w)
  • If this.w is zero, return a Vector3d (x,y,z)

realPointOrVector(): Point3d | Vector3d

Returns - Point3d | Vector3d

Defined in

Last Updated: 30 November, 2023