Surfacedata Contours
The geometric representation of the surface created above is unbounded, that is the nature of the surface boundaries is determined by its array of contours. Multiple contours can be used for surfaces with internal voids.
Functions Introduced:
Use the function ProSurfacedataContourArraySet() to set an array of contours on the surface.
The input arguments of this function are:
p_surf_data—Specifies the surface data to which the array of contour data is to be set.
contour_array—Specifies an array of contours on the surface. The ProContourdata handle can be obtained by using the following functions in sequence:
Use the function ProContourdataAlloc() to allocate memory to the contour data structure.
Use the function ProContourdataInit() to initialize the contour data structure. The input argument of this function is:
contour_trav — Specifies the contour traversal. This parameter has the following values:
PRO_CONTOUR_TRAV_INTERNAL—Internal Contour
PRO_CONTOUR_TRAV_EXTERNAL—External Contour
The function returns the allocated contour data structure.
Use the function ProContourdataEdgeIdArraySet() to set identifiers to an array of edges, that form the boundary of the specified surface.
The input arguments of this function are:
p_contour_data—Specifies the contour data to which the array of edge identifiers have to be set.
edge_id_arr—Specifies the array of edge identifiers. These identifiers must be same as those provided in the ProEdgedata structures described below.
For example, if the surface is bounded by 4 edges, then the identifier of each edge should be assigned to each element of an array of integers of size 4.
Appending the Surface Data to the Interface Data
Function Introduced:
Use the function ProIntfDataSurfaceAppend() to append the surface data into the interface data.
Repeat the sequence for each surface desired in the import feature.
Was this helpful?