Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 826 Bytes

File metadata and controls

43 lines (34 loc) · 826 Bytes

ScreenPlanePtToPlanarPt

Description

Projects a 2D point from the screen plane onto the specified plane.

PROCEDURE ScreenPlanePtToPlanarPt(
				refID     : LONGINT;
				pt2D      : REAL;
				VAR outPt : REAL);
def vs.ScreenPlanePtToPlanarPt(refID, pt2D):
    return outPt

Parameters

Name Type Description
refID LONGINT Reference ID of the plane.
pt2D REAL Input the 2D point on the screen.
outPt REAL Output the 2D point on the plane.

Examples

ScreenPlanePtToPlanarPt(1, 1.0, 2.0);
import vs

# Projects a 2D point from the screen plane onto the specified plane.
refID = 1
pt2D = 1.0

result = vs.ScreenPlanePtToPlanarPt(refID, pt2D)

Version

Availability: from Vectorworks 2011

Category