API Reference > imodeljs-frontend > Views > Viewport > worldToNpc worldToNpc Method Convert a point from CoordSystem.World to CoordSystem.Npc worldToNpc(pt: XYAndZ, out?: Primitives.Point3d): Point3d Parameter Type Description pt XYAndZ the point to convert out Primitives.Point3d optional location for result. If undefined, a new Point3d is created. Returns - Point3d Defined in core/frontend/src/Viewport.ts Line 1589 Last Updated: 13 June, 2024