CADability dotNET
PRELIMINARY: Creates a solid as an offset to the provided solid. Positiv values for offset expand the solid, negative values contract it. Might be changed in future, especially the result will be an array, because contracting might produce several solids.

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

Syntax

C#
public static Solid MakeOffset(
	Solid solid,
	double offset
)
Visual Basic
Public Shared Function MakeOffset ( _
	solid As Solid, _
	offset As Double _
) As Solid
Visual C++
public:
static Solid^ MakeOffset(
	Solid^ solid, 
	double offset
)

Parameters

solid
Type: CADability.GeoObject..::..Solid
Solid to expand or contract
offset
Type: System..::..Double
Offset for the operation

Return Value

The resulting solid

See Also