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