MGCL V10
V10
MGCL V10
|
Is to represent a Loop's point. [詳解]
公開メンバ関数 | |
MGLEPoint () | |
MGLEPoint (MGComplex::const_pcellItr i, double t) | |
MGLEPoint (const MGLoop &lp, int i, double t) | |
Construct from the loop, edge number, and the edge's parameter value. [詳解] | |
MGLEPoint (const MGLCisect &lci) | |
Conversion constructor from MGLCisect. [詳解] | |
MGLEPoint (const MGLoop &loop1, const MGLEPoint &lep, const MGLoop &loop2) | |
convert loop1's MGLEPoint lep to loop2's MGLEPoint. loop2 must be a copy of loop1. [詳解] | |
bool | operator< (const MGLEPoint &lp) const |
Comparison operator. [詳解] | |
bool | operator> (const MGLEPoint &lp) const |
bool | operator<= (const MGLEPoint &lp) const |
bool | operator>= (const MGLEPoint &lp) const |
bool | operator== (const MGLEPoint &lp) const |
bool | operator!= (const MGLEPoint &lp) const |
const MGEdge * | edge () const |
Obtain the edge pointer. [詳解] | |
MGEdge * | edge_to_update () const |
int | edge_num () const |
return loop's edge number. [詳解] | |
MGVector | eval (int nderi=0) const |
MGVector | eval_star (int nderi=0) const |
bool | equal_edge (const MGLEPoint &le2) const |
Test if two LEPoints are of the same edge. [詳解] | |
bool | equal_position (const MGLEPoint &le2) const |
Test if two LEPoints are of the same position. [詳解] | |
bool | equal_position (const MGPosition &P) const |
Test if this is the same position as P. [詳解] | |
MGUnit_vector | inner_vector () const |
bool | is_end_point () const |
test if this is the end point of the loop. [詳解] | |
bool | is_start_point () const |
test if this is the start point of the loop. [詳解] | |
bool | is_Edge_end_point () const |
test if this is the end point of the loop. [詳解] | |
bool | is_Edge_start_point () const |
test if this is the start point of the loop. [詳解] | |
MGComplex::const_pcellItr | iterator () const |
Return the iterator of the edge. [詳解] | |
const MGLoop * | loop () const |
Get loop pointer. [詳解] | |
double | param () const |
Return edge's curve parameter value. [詳解] | |
void | set (MGComplex::const_pcellItr i, double t) |
Set iteraror of the edge and parameter value of the edge. [詳解] | |
void | set (double t) |
Update only parameter value of the edge. [詳解] | |
MGLEPoint | end_of_pre_edge () const |
MGLEPoint | start_of_next_edge () const |
フレンド | |
MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &, const MGLEPoint &) |
String stream Function. [詳解] | |
Is to represent a Loop's point.
This is represented as (l, i, t), where l is loop pointer, i is the edge's iterator in the loop, and t is the parameter value of the curve of the pcell(edge).
|
inline |
|
inline |
i | Loop's edge iterator. |
t | Parameter value of i-th pcell curve. |
MGLEPoint::MGLEPoint | ( | const MGLoop & | lp, |
int | i, | ||
double | t | ||
) |
Construct from the loop, edge number, and the edge's parameter value.
lp | The target loop. |
i | Edge number. |
t | Parameter value of the edge i. |
const MGEdge* MGLEPoint::edge | ( | ) | const |
Obtain the edge pointer.
int MGLEPoint::edge_num | ( | ) | const |
return loop's edge number.
MGEdge* MGLEPoint::edge_to_update | ( | ) | const |
MGLEPoint MGLEPoint::end_of_pre_edge | ( | ) | const |
|
inline |
Test if two LEPoints are of the same edge.
bool MGLEPoint::equal_position | ( | const MGLEPoint & | le2 | ) | const |
Test if two LEPoints are of the same position.
bool MGLEPoint::equal_position | ( | const MGPosition & | P | ) | const |
Test if this is the same position as P.
MGVector MGLEPoint::eval | ( | int | nderi = 0 | ) | const |
Evaluation of the loop at the LEPoint. When nderi=0, get the positional data(a parameter (u,v) of the surface) at the point.
MGVector MGLEPoint::eval_star | ( | int | nderi = 0 | ) | const |
Evaluation of the star curves of the loop at the point t. When nderi=0, get a position of the surface at the boundary point. The star curve is SurfCurve(face's surface, loop's curve). (The star curve has the same world coordinate with the binder curve's, but their direction may be opposite. The star curve has always the same direction as the loop.)
MGUnit_vector MGLEPoint::inner_vector | ( | ) | const |
Compute a vector at the MGLEPoint point that goes inside the face and perpendicular to the boundary loop.
bool MGLEPoint::is_Edge_end_point | ( | ) | const |
test if this is the end point of the loop.
bool MGLEPoint::is_Edge_start_point | ( | ) | const |
test if this is the start point of the loop.
bool MGLEPoint::is_end_point | ( | ) | const |
test if this is the end point of the loop.
bool MGLEPoint::is_start_point | ( | ) | const |
test if this is the start point of the loop.
|
inline |
Return the iterator of the edge.
const MGLoop* MGLEPoint::loop | ( | ) | const |
Get loop pointer.
|
inline |
bool MGLEPoint::operator< | ( | const MGLEPoint & | lp | ) | const |
Comparison operator.
bool MGLEPoint::operator<= | ( | const MGLEPoint & | lp | ) | const |
bool MGLEPoint::operator== | ( | const MGLEPoint & | lp | ) | const |
bool MGLEPoint::operator> | ( | const MGLEPoint & | lp | ) | const |
bool MGLEPoint::operator>= | ( | const MGLEPoint & | lp | ) | const |
|
inline |
Return edge's curve parameter value.
void MGLEPoint::set | ( | MGComplex::const_pcellItr | i, |
double | t | ||
) |
Set iteraror of the edge and parameter value of the edge.
i | Iterator of the edge. |
t | parameter of the edge. |
|
inline |
Update only parameter value of the edge.
t | parameter of the edge. |
MGLEPoint MGLEPoint::start_of_next_edge | ( | ) | const |
|
friend |
String stream Function.