Click or drag to resize
SbExtrusionGeneratorCreateFrom2DPoints Method (IListSbVec2f, SbMatrix, Single, Single)

Create an extruded shape from points in camera space.

Namespace: OIV.Inventor.Misc
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static SoShape CreateFrom2DPoints(
	IList<SbVec2f> pointsInCam,
	SbMatrix camToLocal,
	float zMin,
	float zMax
)

Parameters

pointsInCam
Type: System.Collections.GenericIListSbVec2f

Polyline in normalized screen space ([-1, 1]x[-1, 1]).

camToLocal
Type: OIV.InventorSbMatrix

Transform matrix from camera space to local space (modelViewProjInv matrix)

zMin
Type: SystemSingle

Min extrusion plane, in camera space. By default, it's the camera's near clip plane.

zMax
Type: SystemSingle

Max extrusion plane, in camera space. By default, it's the camera's far clip plane.

Return Value

Type: SoShape
Remarks

Caution note Caution

Return NULL if error occurred.

See Also