Click or drag to resize
SbExtrusionGenerator.CreateFrom3DPoints Method (IList<SbVec3f>, SoPath, SbViewVolume, SbBox3f)

Create an extruded shape from points in world space.

Namespace: OIV.Inventor.Misc
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public static SoShape CreateFrom3DPoints(
	IList<SbVec3f> pointsInWorld,
	SoPath nodePath,
	SbViewVolume volume,
	SbBox3f bboxInLocal
)

Parameters

pointsInWorld
Type: System.Collections.Generic.IList<SbVec3f>

Polyline in world space.

nodePath
Type: OIV.Inventor.SoPath

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.Inventor.SbViewVolume

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

bboxInLocal
Type: OIV.Inventor.SbBox3f

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

Return NULL if error occurred.

See Also