Geometry of Quilts
Functions Introduced:
A quilt represents a "patchwork" of connected nonsolid surfaces. A quilt may consist of a single surface or a collection of surfaces. A quilt contains information describing the geometry of all the surfaces that compose a quilt and information on how quilt surfaces are "stitched" (joined or intersected). A part can contain several quilts. You can create or manipulate quilts using a surface feature.
To find the surfaces it contains, use
ProQuiltSurfaceVisit() and analyze the geometry of each surface.
The function
ProQuiltdataGet() retrieves information from the quilt data structure. The helper functions
ProQuiltdataSurfArrayGet() and
ProQuiltdataSurfArraySet() return or define, respectively, an array of pointers to the datum surfaces in the quilt data structure.
The function
ProQuiltdataMemoryFree() releases the top-level memory associated with the quilt data structure. The function
ProQuiltdataFree() releases the underlying memory of the data structure.
The function
ProQuiltdataTypeGet() returns the type of quilt data. If the type of quilt data is a body, the output argument
p_body_or_quilt returns
PRO_BODY and returns
PRO_QUILT if the type is quilt.
Use the function
ProQuiltdataTypeSet() to set the type of quilt data as
PRO_BODY or
PRO_QUILT. The input arguments follow:
• p_quilt_data—The quilt data.
• body_or_quilt—Type of quilt data as PRO_BODY or PRO_QUILT.
The function
ProQuiltVolumeEval() calculates the volume of a closed quilt.
The function
ProQuiltIsBackupgeometry() identifies if the specified quilt belongs to the invisible Copy Geometry backup feature. Its input argument is a pointer to the quilt’s handle of the type
ProQuilt. If the quilt belongs to the invisible Copy Geometry backup feature, the function returns a
ProBoolean with the value
PRO_B_TRUE; otherwise, the value is
PRO_B_FALSE.
The function
ProQuiltIsInternal() checks whether a quilt is created for internal use only. If the quilt is created for internal use only, the function returns a
ProBoolean with the value
PRO_B_TRUE; otherwise, the value is
PRO_B_FALSE.
Parent topic