Added angle measuring function for a pos
This commit is contained in:
parent
6c8cba901d
commit
c630e4064d
|
@ -332,7 +332,15 @@ public:
|
|||
{
|
||||
return face::IsManifold(*f,z);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* Returns the angle (in radiant) between the two edges incident on V.
|
||||
*/
|
||||
ScalarType AngleRad() const
|
||||
{
|
||||
return Angle(f->V(f->Prev(z))->cP()-v->cP(), f->V(f->Next(z))->cP()-v->cP());
|
||||
}
|
||||
|
||||
/*!
|
||||
* Returns the number of vertices incident on the vertex pos is currently pointing to.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue