All Frameworks  Object Hierarchy  This Framework  Indexes   

ThreeDCuts (Collection)

Interface to compute 3D cuts

Method Index

Compute3DCutWithAReference
Computes the 3DCut on the selected products, according to a reference product.
Compute3DCut
Computes the 3DCut on the selected products.
GetCompute3DCutWithAReference
Computes the 3DCut on the selected products, according to a reference product (better signature).
GetCompute3DCut
Computes the 3DCut on the selected products (better signature).
SetBox
Sets the RELATIVE box used for the 3D cut computation.
SetMatrix
Sets the rotation AND translation matrix.
SetOnBorders
Sets the behavior on borders.
SetType
Sets the type of cut we're doing.
ThreeDCutShapeName
Returns the name of the associated shape.

Methods


o Sub Compute3DCutWithAReference( GroupOfSelectedProducts,
iReferenceProduct,
ThreeDCutDocument)
Computes the 3DCut on the selected products, according to a reference product.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the 3D cut.
iReferenceProduct
Product taken as a reference.
Returns:
ThreeDCutDocument: Document containing the result.
o Sub Compute3DCut( GroupOfSelectedProducts,
ThreeDCutDocument)
Computes the 3DCut on the selected products.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the 3D cut.
Returns:
ThreeDCutDocument: Document containing the result.
o Func GetCompute3DCutWithAReference( GroupOfSelectedProducts,
iReferenceProduct) As
Computes the 3DCut on the selected products, according to a reference product (better signature).
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the 3D cut.
iReferenceProduct
Product taken as a reference.
Returns:
ThreeDCutDocument: Document containing the result.
o Func GetCompute3DCut( GroupOfSelectedProducts) As
Computes the 3DCut on the selected products (better signature).
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the 3D cut.
Returns:
ThreeDCutDocument: Document containing the result.
o Sub SetBox( OriginX,
OriginY,
OriginZ,
VX,
VY,
VZ)
Sets the RELATIVE box used for the 3D cut computation.
Be aware of the behavior:

        Vz
       ^_________________
      /|               /|
     /                / |
    /  |             /  |
   /                /   |
  /----+-----------/    |
  |                |    |
  |    |       *   |    |
  |            O   |    |
  |    |           |    |
  |                |    |
  |    |           |    |
  |    * - - - - - + - -|> Vy
  |    Origin      |   / 
  |  /             |  /
  |                | /
  |/               |/
  /----------------/
 <
  Vx
In the relative referential, O is (0,0,0)

This method sets the RELATIVE box : the rotation and translation matrix will then set the absolute position of O.
Remember where the center of the relative referential lies !
Can have unexpected results if you don't use it properly.
Parameters:
OriginX
Origin coordinate (X)
OriginY
Origin coordinate (Y)
OriginZ
Origin coordinate (Z)
VX
Length of the box (along X)
VY
Length of the box (along Y)
VZ
Length of the box (along Z)
o Sub SetMatrix( iComponents)
Sets the rotation AND translation matrix.
Beware : After a
SetBox, the matrix is not changed.
Parameters:
iComponents
Components of the 4x4 matrix, placed in rows.
o Sub SetOnBorders( OnBorders)
Sets the behavior on borders.
Parameters:
Type
0 : We keep partially included triangles
1 : We keep entirely included triangles
o Sub SetType( Type)
Sets the type of cut we're doing.
Parameters:
Type
0 : We keep the inner triangles
1 : We keep the outer triangles
o Sub ThreeDCutShapeName( Name)
Returns the name of the associated shape.

Copyright © 2003, Dassault Systèmes. All rights reserved.