Wrappings (Object)

Interface to compute Wrappings

Methods


Func Add( iProductToWrapping, iAccuracy, iRatio, iShapeName, iActivatedShape, iDefaultShape) As
Compute a wrapping on the selected products. This method is deprecated!
Parameters:
iProductToWrapping
The selected products on which you want to perform a wrapping.
iAccuracy
The grain accuracy.
iRatio
The ratio.
iShapeName
The associated shape name.
iActivatedShape
Do we activate the shape ?
iDefaultShape
Do we activate the shape as default shape ?
Returns:
oWrapping: Document containing the result.
Sub CleanUp()
Cleans up.
Func ComputeAWrapping( GroupOfSelectedProducts, iAccuracy, iRation, iAccuracyForSimplification) As
Compute a wrapping on the selected products.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform a wrapping.
iAccuracy
The grain accuracy.
iRation
The ratio.
iAccuracyForSimplification
The accuracy for the simplification. equals -1 if no simplification is to be performed.
Returns:
WrappingDocument: Document containing the result.
Func ComputeAWrappingWithAReference( iGroupOfSelectedProducts, iReferenceProduct, iAccuracy, iRation, iAccuracyForSimplification) As
Compute a wrapping on the selected products, according to a reference product.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform a wrapping.
iReferenceProduct
Product taken as a reference.
iAccuracy
The grain accuracy.
iRation
The ratio.
iAccuracyForSimplification
The accuracy for the simplification. equals -1 if no simplification is to be performed.
Returns:
WrappingDocument: Document containing the result.
Func ComputeWrappingWithConvexHull( iGroupOfSelectedProducts, iReferenceProduct, iAccuracy, iPerformSimplification, iAccuracyForSimplification) As
Compute a wrapping using convex hull algorithm on the selected products, according to a reference product.
Parameters:
iGroupOfSelectedProducts
The selected products to wrap.
iReferenceProduct
Product taken as a reference.
iAccuracy
The grain accuracy (accuracy value > 0 and units in mm).
iPerformSimplification
set to true for simplification and set to false for no simplification
iAccuracyForSimplification
The accuracy for the simplification (accuracy value > 0 and units in mm). The accuracy value is taken into account only if the @param iPerformSimplification is set to true.
Returns:
WrappingDocument: Document containing the result.
Func WrappingShapeName() As
Returns the name of the associated shape.