Skip to content

clear_shape_modelClearShapeModelClearShapeModelclear_shape_modelT_clear_shape_model🔗

説明🔗

clear_shape_modelClearShapeModelClearShapeModelclear_shape_modelT_clear_shape_model — 形状モデルのメモリを解放する。

書式🔗

clear_shape_model( shape_model ModelID )void ClearShapeModel( const HTuple& ModelID )static void HOperatorSet.ClearShapeModel( HTuple modelID )def clear_shape_model( model_id: HHandle ) -> None

Herror T_clear_shape_model( const Htuple ModelID )

void HShapeModel::ClearShapeModel( ) const

void HShapeModel.ClearShapeModel( )

説明🔗

オペレーター clear_shape_modelClearShapeModel は、 create_shape_modelCreateShapeModel、create_scaled_shape_modelCreateScaledShapeModel、ま たは create_aniso_shape_modelCreateAnisoShapeModel によって生成された形状モデル のメモリを解放します。clear_shape_modelClearShapeModel をコールした後は、 そのモデルを使用することはできません。ハンドル ModelIDmodelIDmodel_id が 無効になります。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

このオペレータは以下の入力パラメータの状態を変更します :

このパラメータの値は外部同期なしには複数スレッド間で共有されません。

パラメーター🔗

ModelIDmodelIDmodel_id (input_control, 状態が変更されました) shape_model → (handle)HTuple (HHandle)HShapeModel, HTuple (IntPtr)HHandleHtuple (handle)

モデルのハンドル

結果🔗

モデルのハンドルが有効であれば、オペレーター clear_shape_modelClearShapeModel は、値 2 (H_MSG_TRUE) を返します。必要に応じて、例 外処理が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

create_generic_shape_modelCreateGenericShapeModel, write_shape_modelWriteShapeModel

モジュール🔗

Matching