/* Copyright (c) 2024 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. */ /*---------------------- Pro/Toolkit Includes ------------------------*/ #include <ProToolkit.h> #include <ProAsmcomppath.h> #include <ProObjects.h> #include <ProView.h> /*---------------------- Application Includes ------------------------*/ #include <TestError.h> /*---------------------- Function Prototypes -------------------------*/ void UserSolidToScreen(); void UserSolidToScreen( ProSolid solid, ProPoint3d solid_point, ProPoint3d screen_point) { ProMatrix view_matrix; ProError status; status = ProViewMatrixGet(solid,NULL,view_matrix); ERROR_CHECK("UserSolidToScreen", "ProViewMatrixGet()", status); status = ProPntTrfEval(solid_point,view_matrix,screen_point); ERROR_CHECK("UserSolidToScreen", "ProPntTrfEval()", status); }