SbExtrusionGeneratorCreateFrom2DPoints Method (IListSbVec2f, SbMatrix, SbBox3f) |
Create an extruded shape from points in camera space.
Namespace: OIV.Inventor.MiscAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public static SoShape CreateFrom2DPoints(
IList<SbVec2f> pointsInCam,
SbMatrix localToCam,
SbBox3f bboxInLocal
)
Public Shared Function CreateFrom2DPoints (
pointsInCam As IList(Of SbVec2f),
localToCam As SbMatrix,
bboxInLocal As SbBox3f
) As SoShape
public:
static SoShape^ CreateFrom2DPoints(
IList<SbVec2f>^ pointsInCam,
SbMatrix localToCam,
SbBox3f bboxInLocal
)
static member CreateFrom2DPoints :
pointsInCam : IList<SbVec2f> *
localToCam : SbMatrix *
bboxInLocal : SbBox3f -> SoShape
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:
SoShapeRemarks Caution |
---|
Return NULL if error occurred. |
See Also