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

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 localToCam,
	SbBox3f bboxInLocal
)

Parameters

pointsInCam
Type: System.Collections.GenericIListSbVec2f

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

localToCam
Type: OIV.InventorSbMatrix

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

bboxInLocal
Type: OIV.InventorSbBox3f

Bounding box that specifies limits of extruded shape, expressed in local space. If not specified, the shape will be extruded between the camera near and far planes.

Return Value

Type: SoShape
Remarks

Caution note Caution

Return NULL if error occurred.

See Also