Click or drag to resize
SbViewVolumeProjectPointToLine Method (SbVec2f, SbVec3f, SbVec3f)
Maps a 2D point (in 0 <= x,y <= 1) to a 3D line.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntax
public void ProjectPointToLine(
	ref SbVec2f pt,
	out SbVec3f line0,
	out SbVec3f line1
)

Parameters

pt
Type: OIV.InventorSbVec2f
Point in normalized screen coordinates.
line0
Type: OIV.InventorSbVec3f
Output parameter. Store one point which belong to the line.
line1
Type: OIV.InventorSbVec3f
Output parameter. Store one point which belong to the line.
See Also