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. dd>
- iAccuracy
- The grain accuracy. dd>
- iRatio
- The ratio. dd>
- iShapeName
- The associated shape name. dd>
- iActivatedShape
- Do we activate the shape ? dd>
- iDefaultShape
- Do we activate the shape as default shape ? dd>
- Returns:
- oWrapping: Document containing the result. dd>
- 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. dd>
- iAccuracy
- The grain accuracy. dd>
- iRation
- The ratio. dd>
- iAccuracyForSimplification
- The accuracy for the simplification. equals -1 if no simplification is to be performed. dd>
- Returns:
- WrappingDocument: Document containing the result. dd>
- 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. dd>
- iReferenceProduct
- Product taken as a reference. dd>
- iAccuracy
- The grain accuracy. dd>
- iRation
- The ratio. dd>
- iAccuracyForSimplification
- The accuracy for the simplification. equals -1 if no simplification is to be performed. dd>
- Returns:
- WrappingDocument: Document containing the result. dd>
- 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. dd>
- iReferenceProduct
- Product taken as a reference. dd>
- iAccuracy
- The grain accuracy (accuracy value > 0 and units in mm). dd>
- iPerformSimplification
- set to true for simplification and set to false for no simplification dd>
- 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. dd>
- Returns:
- WrappingDocument: Document containing the result. dd>
- Func WrappingShapeName() As
- Returns the name of the associated shape.