|
shape_doc 0.1
|
#include <box_face.hpp>
Definition at line 16 of file box_face.hpp.
| typedef bounding_box<C,V> BoundingBox |
Definition at line 18 of file box_face.hpp.
Definition at line 17 of file box_face.hpp.
| box_face | ( | ) | [inline] |
Definition at line 19 of file box_face.hpp.
References box_face< C, V >::m_s, box_face< C, V >::m_v, and box_face< C, V >::m_var.
| box_face | ( | int | v1, |
| int | i1 | ||
| ) | [inline] |
Definition at line 22 of file box_face.hpp.
References box_face< C, V >::m_s, box_face< C, V >::m_v, and box_face< C, V >::m_var.
| box_face | ( | int | v1, |
| int | i1, | ||
| int | v2, | ||
| int | i2 | ||
| ) | [inline] |
Definition at line 34 of file box_face.hpp.
References box_face< C, V >::m_s, box_face< C, V >::m_v, and box_face< C, V >::m_var.
| int cvar | ( | unsigned | i | ) | const [inline] |
Definition at line 79 of file box_face.hpp.
References box_face< C, V >::m_v.
Referenced by solver_implicit< C, V >::common_edge_point(), solver_implicit< C, V >::edge_point(), solver_implicit< C, V >::edge_sign_var(), and solver_implicit< C, V >::face_point().
{ return m_v[i]; }
| int fvar | ( | unsigned | i | ) | const [inline] |
Definition at line 81 of file box_face.hpp.
References box_face< C, V >::m_var.
{ return m_var[i]; }
| bool is_valid | ( | const Point & | p, |
| const BoundingBox & | bx, | ||
| double | eps = 0.000001 |
||
| ) | const [inline] |
Definition at line 70 of file box_face.hpp.
References box_face< C, V >::m_s, and box_face< C, V >::m_v.
| bool is_valid | ( | const BoundingBox & | bx, |
| double | u, | ||
| double | eps | ||
| ) | const [inline] |
Definition at line 56 of file box_face.hpp.
References box_face< C, V >::m_var.
Referenced by solver_implicit< C, V >::edge_point(), and solver_implicit< C, V >::face_point().
| bool is_valid_scale | ( | double | u, |
| double | eps | ||
| ) | const [inline] |
Definition at line 63 of file box_face.hpp.
References box_face< C, V >::m_var.
{
if(m_var[0]==0)
return u-eps>0;
else
return u+eps<1;
}
| double lower | ( | const BoundingBox & | bx | ) | const [inline] |
Definition at line 83 of file box_face.hpp.
References box_face< C, V >::m_var.
Referenced by solver_implicit< C, V >::common_edge_point(), and solver_implicit< C, V >::edge_point().
{
return (bx)(m_var[0],0);
}
| Point* new_point | ( | const BoundingBox & | bx, |
| double | u | ||
| ) | const [inline] |
Definition at line 40 of file box_face.hpp.
References box_face< C, V >::m_s, box_face< C, V >::m_v, and box_face< C, V >::m_var.
Referenced by solver_implicit< C, V >::common_edge_point(), solver_implicit< C, V >::edge_point(), and solver_implicit< C, V >::face_point().
| Point* new_point | ( | const BoundingBox & | bx, |
| double | u, | ||
| double | v | ||
| ) | const [inline] |
Definition at line 48 of file box_face.hpp.
References box_face< C, V >::m_s, box_face< C, V >::m_v, and box_face< C, V >::m_var.
| int side | ( | unsigned | i | ) | const [inline] |
Definition at line 80 of file box_face.hpp.
References box_face< C, V >::m_s.
Referenced by solver_implicit< C, V >::common_edge_point(), solver_implicit< C, V >::edge_point(), solver_implicit< C, V >::edge_sign_var(), and solver_implicit< C, V >::face_point().
{ return m_s[i]; }
| double upper | ( | const BoundingBox & | bx | ) | const [inline] |
Definition at line 86 of file box_face.hpp.
References box_face< C, V >::m_var.
Referenced by solver_implicit< C, V >::common_edge_point(), and solver_implicit< C, V >::edge_point().
{
return (bx)(m_var[0],1);
}
| Seq<int> m_s |
Definition at line 91 of file box_face.hpp.
Referenced by box_face< C, V >::box_face(), box_face< C, V >::is_valid(), box_face< C, V >::new_point(), and box_face< C, V >::side().
| Seq<int> m_v |
Definition at line 91 of file box_face.hpp.
Referenced by box_face< C, V >::box_face(), box_face< C, V >::cvar(), box_face< C, V >::is_valid(), and box_face< C, V >::new_point().
| Seq<int> m_var |
Definition at line 91 of file box_face.hpp.
Referenced by box_face< C, V >::box_face(), box_face< C, V >::fvar(), box_face< C, V >::is_valid(), box_face< C, V >::is_valid_scale(), box_face< C, V >::lower(), box_face< C, V >::new_point(), and box_face< C, V >::upper().