 |
PK_PARTITION_receive_meshes |
|
PK_ERROR_code_t PK_PARTITION_receive_meshes
(
--- received arguments ---
PK_PARTITION_t partition, --- a partition
const PK_PARTITION_receive_meshes_o_t *options, --- options structure
--- returned arguments ---
int *const n_owners, --- number of owners
PK_ITEM_t **const owners --- owners
)
This function receives or generates all mesh data which is not yet
loaded for the specified partition.
Specific Errors:
PK_ERROR_mesh_not_found Not all requested mesh data
successfully received (MILD)
PK_ERROR_bad_key Frustrum (FFOPRD) returned FR_bad_name
(MILD)
PK_ERROR_key_not_found Frustrum (FFOPRD) returned
FR_not_found (MILD)
PK_ERROR_cant_open_file Frustrum (FFOPRD) returned
FR_open_fail (MILD)
PK_ERROR_file_access_error Error reading or closing the transmit
file (MILD)
PK_ERROR_wrong_format File does not have expected transmit
format (MILD)
PK_ERROR_wrong_version File transmitted by incompatible
version of modeller (MILD)
PK_ERROR_corrupt_file Invalid transmit file contents (MILD)
PK_ERROR_file_read_corruption Corrupt data read, perhaps an NFS
problem (MILD)
PK_ERROR_index_out_of_range Vertex index is out of range. (MILD)
PK_ERROR_facet_invalid_input Position or normal is not a valid
vector. (MILD)
PK_ERROR_mesh_has_no_mfacets Mesh has no valid facets (MILD).
PK_ERROR_inconsistent_data Some facet blocks include normals
while others do not. (MILD)
PK_ERROR_callback_failed The application's 'facet_reader'
callback function has returned
PK_MESH_cb_status_fail_c. (MILD)
PK_ERROR_bad_mesh_box The box supplied by the application
is not big enough. (MILD)
The output 'owners' is an optional array of entities or partitions for which
mesh data was received.
A report in the Parasolid report stream can optionally be requested to give
details of any meshes whose mesh data failed to be received.