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
Defined in
- geometry4d/Point4d.ts Line 433
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.