| Description |
| Creates an offset cross section with polyline lying on the plane given by local sys. |
| Synopsis |
| #include <ProXsec.h> |
| ProError | ProXSectionOffsetCreate | ( |
| ProSolid solid_owner | |
| /*
(In) |
| Solid in which the xsec is to be created. |
| */ |
| ProMdlName xsec_name | |
| /*
(In) |
| Name of the cross section. Name size should be PRO_NAME_SIZE. |
| */ |
| double trf[4][3] | |
| /*
(In) |
| Local sys of the plane containing cross section polyline. |
| */ |
| Pro2dLinedef* ent_arr | |
| /*
(In) |
| ProArray of Pro2dLinedef structures for polyline. |
| */ |
| ProXsecOffsetSide side | |
| /*
(In) |
| PRO_XSEC_OFFSET_SIDE_1/2 - we remove material only from positive/negative normal of polyline plane; |
| */ |
| int flip | |
| /*
(In) |
| FALSE - we keep material from the right of the oriented polyline, if we look from the positive normal to polyline plane and if side = PRO_XSEC_OFFSET_SIDE_1/2, only from the positive/negative normal to this plane; |
| */ |
| ProXsecExcludeModels excld_incld_opt | |
| /*
(In) |
| PRO_XSEC_MODEL_EXCLUDE - exclude exclude_items from cutting by cross section; |
| */ |
| ProSelection* exclude_items | |
| /*
(In) |
| ProArray of selected bodies or parts to include/exclude from cross-section. |
| */ |
| ProXSectionCreateData data | |
| /*
(In) |
| Used to set quilt xsec type ( PRO_XSECTYPE_QUILTS or PRO_XSECTYPE_MODELQUILTS ) for offset xsec creation. Used to set quilt selection for offset xsec creation when PRO_XSECTYPE_QUILTS option is used. |
| */ |
| ProXsecMdlname* r_xsec | |
| /*
(Out) |
| Handle to created cross section |
| */ |
| ) |
| Returns |
|
|