/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #ifndef _MGCSisect_HH_ #define _MGCSisect_HH_ /** @addtogroup IsectContainer * @{ */ #include "mg/MGCL.h" #include "mg/isect.h" #include "mg/Point.h" // MGCSisect.h // Header for MGCSisect //Forward declaration. class MGInterval; class MGPosition; ///One Intersection of curve and surface. ///If more than one are necessary to hold, CSisect_list should be used. /// Curve と Surface の交点を表現する。 class MG_DLL_DECLR MGCSisect:public MGisect{ public: //////////////Constructor//////////// ///Void Constructor(初期化なしで交点を生成) MGCSisect (); ///Input all necessary components(全てのコンポーネントを指定して交点を生成) MGCSisect( const MGPosition& point, /// (const MGCSisect& csi)const{return csi<(*this);}; bool operator<= (const MGCSisect& csi)const{return !(csi<(*this));}; bool operator>= (const MGCSisect& csi)const{return !((*this)