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: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public void ProjectPointToLine(
	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