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

Create an extruded shape from points in camera space.

Namespace: OIV.Inventor.Misc
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static SoShape CreateFrom2DPoints(
	IList<SbVec2f> pointsInCam,
	SoPath nodePath,
	SbViewVolume volume,
	SbBox3f bboxInLocal
)

Parameters

pointsInCam
Type: System.Collections.GenericIListSbVec2f

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

nodePath
Type: OIV.InventorSoPath

Path from root to the node space in which the generated shape will be expressed. Generally, the separator which will contain the shape. If NULL, the shape will be expressed in world space.

volume
Type: OIV.InventorSbViewVolume

View volume corresponding to the camera in which the points were taken.

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