MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
virtual void | closest_point (Mesh::VertexHandle, const Vector3D &position, Vector3D &closest, Vector3D &, MsqError &) const |
evaluate closest point and normal | |
virtual void | snap_to (Mesh::VertexHandle, Vector3D &) const |
virtual void | vertex_normal_at (Mesh::VertexHandle, Vector3D &) const |
virtual void | element_normal_at (Mesh::ElementHandle, Vector3D &) const |
virtual void | vertex_normal_at (const Mesh::VertexHandle *, Vector3D[], unsigned, MsqError &) const |
evaluate surface normals | |
virtual void | domain_DoF (const Mesh::EntityHandle *, unsigned short *, size_t, MsqError &) const |
Get degrees of freedom in vertex movement. |
Definition at line 60 of file paraboloid_domain_test.cpp.
virtual void ParaboloidDomain::closest_point | ( | Mesh::VertexHandle | handle, |
const Vector3D & | position, | ||
Vector3D & | closest, | ||
Vector3D & | normal, | ||
MsqError & | err | ||
) | const [inline, virtual] |
evaluate closest point and normal
Given a position in space, return the closest position in the domain and the domain normal at that point.
entity_handle | Evaluate the subset of the domain contianing this entity |
position | Input position for which to evaluate |
closest | Closest position in the domain. |
normal | Domain normal at the location of 'closest' |
Implements MBMesquite::MeshDomain.
Definition at line 63 of file paraboloid_domain_test.cpp.
{ closest = Vector3D( position[0], position[1], position[0] * position[0] + position[1] * position[1] ); };
virtual void ParaboloidDomain::domain_DoF | ( | const Mesh::EntityHandle * | handle_array, |
unsigned short * | dof_array, | ||
size_t | num_handles, | ||
MsqError & | err | ||
) | const [inline, virtual] |
Get degrees of freedom in vertex movement.
Given a vertex, return how the domain constrains the location of that vertex as the number of degrees of freedom in the motion of the vertex. If the domain is a geometric domain, the degrees of freedom for a vertex is the dimension of the geometric entity the vertex is constrained to lie on (e.g. point = 0, curve = 1, surface = 2, volume = 3.)
Implements MBMesquite::MeshDomain.
Definition at line 82 of file paraboloid_domain_test.cpp.
{};
virtual void ParaboloidDomain::element_normal_at | ( | Mesh::ElementHandle | , |
Vector3D & | |||
) | const [inline, virtual] |
virtual void ParaboloidDomain::snap_to | ( | Mesh::VertexHandle | entity_handle, |
Vector3D & | coordinate | ||
) | const [inline, virtual] |
Modifies "coordinate" so that it lies on the domain to which "entity_handle" is constrained. The handle determines the domain. The coordinate is the proposed new position on that domain.
Implements MBMesquite::MeshDomain.
Definition at line 72 of file paraboloid_domain_test.cpp.
{};
virtual void ParaboloidDomain::vertex_normal_at | ( | Mesh::VertexHandle | entity_handle, |
Vector3D & | coordinate | ||
) | const [inline, virtual] |
Returns the normal of the domain to which "entity_handle" is constrained. For non-planar surfaces, the normal is calculated at the point on the domain that is closest to the passed in value of "coordinate". If the domain does not have a normal, or the normal cannot be determined, "coordinate" is set to (0,0,0). Otherwise, "coordinate" is set to the domain's normal at the appropriate point. In summary, the handle determines the domain. The coordinate determines the point of interest on that domain.
User should see also PatchData::get_domain_normal_at_vertex and PatchData::get_domain_normal_at_element .
Implements MBMesquite::MeshDomain.
Definition at line 74 of file paraboloid_domain_test.cpp.
{};
virtual void ParaboloidDomain::vertex_normal_at | ( | const Mesh::VertexHandle * | handles, |
Vector3D | coordinates[], | ||
unsigned | count, | ||
MsqError & | err | ||
) | const [inline, virtual] |
evaluate surface normals
Returns normals for a domain.
handles | The domain evaluated is the one in which this mesh entity is constrained. |
coordinates | As input, a list of positions at which to evaluate the domain. As output, the resulting domain normals. |
count | The length of the coordinates array. |
Implements MBMesquite::MeshDomain.
Definition at line 77 of file paraboloid_domain_test.cpp.
{};