MGCL V10
V10
MGCL V10
|
Face's (u,v) parameter value line. [詳解]
公開メンバ関数 | |
MGFPline () | |
MGFPline (const MGFSurface *face, MGCurve *uvline) | |
void constructor. [詳解] | |
MGFPline (const MGFPline &fpl) | |
~MGFPline () | |
MGFPline & | operator= (const MGFPline &fpl) |
uvline will be deleted. [詳解] | |
bool | operator< (const MGFPline &fpl2) const |
Comparison operator. [詳解] | |
bool | operator> (const MGFPline &fpl2) const |
bool | operator<= (const MGFPline &fpl2) const |
bool | operator>= (const MGFPline &fpl2) const |
bool | operator== (const MGFPline &fpl2) const |
bool | operator!= (const MGFPline &fpl2) const |
void | change_range (double t0, double t1) |
const MGFSurface * | face () const |
Get face's pointer. [詳解] | |
void | reverse_direction () |
Reverse the direction of this line. [詳解] | |
MGCurve * | release_line () |
const MGCurve & | uvline () const |
Return face's (u,v) parameter representation line. [詳解] | |
MGCurve & | uvline () |
フレンド | |
MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &ostrm, const MGFPline &fpl) |
String stream Function. [詳解] | |
Face's (u,v) parameter value line.
MGFPline is to represent an parameter (u,v) line of a face. (MGFSurface* f, MGCurve uvline) where f is a face pointer, and uvline is a parameter (u,v) line of the face f.
MGFPline is used to express Shell's intersection lines. The behavior of MGFPline is like an auto_ptr. Copy or assignment of MGFPline means transfer of the ownership of all the included curves to copied or assigned MGFPline and original MGFPline does not have the ownership of the curves any more. Users should be aware of it.
|
inline |
|
inline |
void constructor.
Construct from all the necessary data.
face | face1. |
uvline | (u,v) line of the face, takes the ownership of the curve. That is uvline must be a newed object pointer. |
MGFPline::MGFPline | ( | const MGFPline & | fpl | ) |
Copy Constructor; fpl's ownership of all the curve will be transfered to the new MGFPline object.
MGFPline::~MGFPline | ( | ) |
void MGFPline::change_range | ( | double | t0, |
double | t1 | ||
) |
Change parameter range, be able to change the direction by providing t1 greater than t2.
t0 | Parameter value for the start of original. |
t1 | Parameter value for the end of original. |
|
inline |
Get face's pointer.
|
inline |
bool MGFPline::operator< | ( | const MGFPline & | fpl2 | ) | const |
Comparison operator.
|
inline |
uvline will be deleted.
Assingment. The ownership of the curve in fpl will be transfered to this MGFPline.
bool MGFPline::operator== | ( | const MGFPline & | fpl2 | ) | const |
|
inline |
|
inline |
MGCurve* MGFPline::release_line | ( | ) |
Release the uvline curve pointer from this. After the use of release_line(), MGFPline does not have the ownership of the curve.
void MGFPline::reverse_direction | ( | ) |
Reverse the direction of this line.
|
inline |
Return face's (u,v) parameter representation line.
|
inline |
|
friend |
String stream Function.