関数read_3d_data_3d マニュアル

(The documentation of function read_3d_data_3d)

Last Update: 2025/8/7


◆機能・用途(Purpose)

struct _3d_data型構造体を3d形式のファイルから読み込む。
Read a struct _3d_data-type structure from a file of 3d format.

※関数read_3d_dataからの内部呼び出しを想定したものであり、 この関数を直接呼び出すべきではない。
∗ This function is assumed to be called through a parent function read_3d_data and should not directly be used.


◆形式(Format)

##include <3d_data/readwrite.h>
inline struct _3d_data read_3d_data_3d(const char ∗inputfile)


◆引数(Arguments)

inputfile 入力ファイル名。拡張子(.3d)も含めて指定すること。
The input file name including the extension (.3d).


◆戻り値(Return value)

ファイルinputfileから読み込んだstruct _3d_data型構造体。
A structure read from the file inputfile.


◆使用例(Example)

【非推奨】(Discouraged)
struct _3d_data data=read_3d_data_3d("data.3d");

【推奨】(Recommended)
struct _3d_data data=read_3d_data("data.3d");