CADability dotNET
Creates a Solid, a Shell or a Face by moving a Path, a Face or a Shell along a given vector. Moving a path yields a face or a shell, moving a face or a shell returns a Solid. Moving a different type of IGeoObject returns null.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static IGeoObject MakePrism(
	IGeoObject faceShellOrPath,
	GeoVector extrusion,
	Project project
)
Visual Basic
Public Shared Function MakePrism ( _
	faceShellOrPath As IGeoObject, _
	extrusion As GeoVector, _
	project As Project _
) As IGeoObject
Visual C++
public:
static IGeoObject^ MakePrism(
	IGeoObject^ faceShellOrPath, 
	GeoVector extrusion, 
	Project^ project
)

Parameters

faceShellOrPath
Type: CADability.GeoObject..::..IGeoObject
object to move
extrusion
Type: CADability..::..GeoVector
project
Type: CADability..::..Project
the Project to set default styles for the result

Return Value

the created solid, face or shell

See Also