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.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
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