FineKernelToolKit 4.2.13
|
ソリッドモデルの半稜線位相を管理するクラス [詳解]
#include <FK/Half.h>
公開メンバ関数 | |
fk_Half (int=FK_UNDEFINED) | |
コンストラクタ | |
virtual | ~fk_Half () |
デストラクタ | |
fk_Half (const fk_Half &) | |
コピーコンストラクタ | |
fk_Vertex * | getVertex (void) const |
始点頂点位相取得関数 | |
fk_Half * | getNextHalf (void) const |
後半稜線位相取得関数 | |
fk_Half * | getPrevHalf (void) const |
前半稜線位相取得関数 | |
fk_Edge * | getParentEdge (void) const |
稜線位相取得関数 | |
fk_Loop * | getParentLoop (void) const |
ループ位相取得関数 | |
bool | isLeft (void) const |
左側判定関数 | |
bool | isRight (void) const |
右側判定関数 | |
![]() | |
fk_Topology (void) | |
コンストラクタ | |
virtual | ~fk_Topology () |
デストラクタ | |
int | getID (void) const |
ID取得関数 | |
fk_TopologyType | getType (void) const |
位相タイプ取得関数 | |
![]() | |
fk_Attribute (void) | |
コンストラクタ | |
virtual | ~fk_Attribute () |
デストラクタ | |
bool | setAttrII (const int key, const int value) |
キーが int 型、値が int 型である属性設定関数 | |
bool | setAttrID (const int key, const double value) |
キーが int 型、値が double 型である属性設定関数 | |
bool | setAttrIS (const int key, const std::string value) |
キーが int 型、値が std::string 型である属性設定関数 | |
bool | setAttrSI (const std::string key, const int value) |
キーが std::string 型、値が int 型である属性設定関数 | |
bool | setAttrSD (const std::string key, const double value) |
キーが std::string 型、値が double 型である属性設定関数 | |
bool | setAttrSS (const std::string key, const std::string value) |
キーが std::string 型、値が std::string 型である属性設定関数 | |
int | getAttrII (const int key) const |
キーが int 型、値が int 型である属性参照関数 | |
double | getAttrID (const int key) const |
キーが int 型、値が double 型である属性参照関数 | |
std::string | getAttrIS (const int key) const |
キーが int 型、値が std::string 型である属性参照関数 | |
int | getAttrSI (const std::string key) const |
キーが std::string 型、値が int 型である属性参照関数 | |
double | getAttrSD (const std::string key) const |
キーが std::string 型、値が double 型である属性参照関数 | |
std::string | getAttrSS (const std::string key) const |
キーが std::string 型、値が std::string 型である属性参照関数 | |
bool | existAttrII (const int key) const |
キーが int 型、値が int 型である属性存在参照関数 | |
bool | existAttrID (const int key) const |
キーが int 型、値が double 型である属性存在参照関数 | |
bool | existAttrIS (const int key) const |
キーが int 型、値が std::string 型である属性存在参照関数 | |
bool | existAttrSI (const std::string key) const |
キーが std::string 型、値が int 型である属性存在参照関数 | |
bool | existAttrSD (const std::string key) const |
キーが std::string 型、値が double 型である属性存在参照関数 | |
bool | existAttrSS (const std::string key) const |
キーが std::string 型、値が std::string 型である属性存在参照関数 | |
bool | deleteAttrII (const int key) |
キーが int 型、値が int 型である属性消去関数 | |
bool | deleteAttrID (const int key) |
キーが int 型、値が double 型である属性消去関数 | |
bool | deleteAttrIS (const int key) |
キーが int 型、値が std::string 型である属性消去関数 | |
bool | deleteAttrSI (const std::string key) |
キーが std::string 型、値が int 型である属性消去関数 | |
bool | deleteAttrSD (const std::string key) |
キーが std::string 型、値が double 型である属性消去関数 | |
bool | deleteAttrSS (const std::string key) |
キーが std::string 型、値が std::string 型である属性消去関数 | |
![]() | |
fk_BaseObject (fk_Type type=fk_Type::BASEOBJECT) | |
コンストラクタ | |
fk_Type | getObjectType (void) const |
タイプ取得関数 | |
ソリッドモデルの半稜線位相を管理するクラス
このクラスは、 fk_Solid によるソリッドモデルにおいて、 半稜線位相に関する制御機能を提供します。 FK におけるソリッドモデルの構造については、 ユーザーズマニュアルの「形状に対する高度な操作」の章を参照して下さい。
派生クラスのうち、ID 管理については fk_Topology, 個別マテリアル設定については fk_TopologyMaterial, 属性設定については fk_Attribute を参照して下さい。
FK::fk_Half::fk_Half | ( | int | = FK_UNDEFINED | ) |
コンストラクタ
|
virtual |
デストラクタ
FK::fk_Half::fk_Half | ( | const fk_Half & | ) |
コピーコンストラクタ
fk_Vertex * FK::fk_Half::getVertex | ( | void | ) | const |
始点頂点位相取得関数
この半稜線が始点としている頂点を取得します。
fk_Half * FK::fk_Half::getNextHalf | ( | void | ) | const |
後半稜線位相取得関数
半稜線の接続関係において、この半稜線の後にあたる半稜線を取得します。
fk_Half * FK::fk_Half::getPrevHalf | ( | void | ) | const |
前半稜線位相取得関数
半稜線の接続関係において、この半稜線の前にあたる半稜線を取得します。
fk_Edge * FK::fk_Half::getParentEdge | ( | void | ) | const |
稜線位相取得関数
この半稜線が属している稜線を取得します。
fk_Loop * FK::fk_Half::getParentLoop | ( | void | ) | const |
ループ位相取得関数
この半稜線が属しているループを取得します。
bool FK::fk_Half::isLeft | ( | void | ) | const |
左側判定関数
この半稜線が、属している稜線の「左側」かどうかを判定する関数です。
bool FK::fk_Half::isRight | ( | void | ) | const |
右側判定関数
この半稜線が、属している稜線の「右側」かどうかを判定する関数です。