A base class describing a Mesquite::MeshDomain implemented on top of the TSTT geometry and classification interfaces. More...
#include <GeomTSTT.hpp>
Public Member Functions | |
virtual | ~GeomTSTT () |
virtual | ~GeomTSTT () |
Public Member Functions inherited from MeshDomain | |
virtual | ~MeshDomain () |
virtual DomainHint | hint () const =0 |
Give a hint about the nature of the domain for better performance. More... | |
virtual void | snap_to (Mesh::EntityHandle entity_handle, Vector3D &coordinate) const =0 |
Modifies "coordinate" so that it lies on the domain to which "entity_handle" is constrained. More... | |
virtual void | normal_at (Mesh::EntityHandle entity_handle, Vector3D &coordinate) const =0 |
Returns the normal of the domain to which "entity_handle" is constrained. More... | |
virtual void | normal_at (Mesh::EntityHandle handle, Vector3D coordinates[], unsigned count, MsqError &err) const =0 |
evaluate surface normals More... | |
virtual void | closest_point (Mesh::EntityHandle handle, const Vector3D &position, Vector3D &closest, Vector3D &normal, MsqError &err) const =0 |
evaluate closest point and normal More... | |
Static Public Member Functions | |
static GeomTSTT * | create (TSTTG::Geometry &geom, TSTTM::Mesh &mesh, TSTTR::Relate &assoc, MsqError &err) |
Create MeshDommain from TSTT classification and geometry interfaces. More... | |
static GeomTSTT * | create (TSTTG::Geometry &geom, void *geom_ent_handle, MsqError &err) |
Create a MeshDomain for a single geometric entity that uses the TSTT geometry interface for geometric evaluation. More... | |
static GeomTSTT * | create (TSTTG::Geometry &geom, TSTTM::Mesh &mesh, TSTTR::Relate &assoc, MsqError &err) |
Create MeshDommain from TSTT classification and geometry interfaces. More... | |
static GeomTSTT * | create (TSTTG::Geometry &geom, void *geom_ent_handle, MsqError &err) |
Create a MeshDomain for a single geometric entity that uses the TSTT geometry interface for geometric evaluation. More... | |
A base class describing a Mesquite::MeshDomain implemented on top of the TSTT geometry and classification interfaces.
A base class for Mesquite::MeshDomain implementations on top of the TSTT geometry and classification interfaces and static methods for constructing concrete implementations. The concrete implementations are not themselves in a header to avoid the need to include all TSTT headers if this header is included, for example indirectly through Mesquite_all_headers.hpp
Definition at line 62 of file includeLinks/GeomTSTT.hpp.
|
virtual |
Definition at line 226 of file GeomTSTT.cpp.
|
virtual |
|
static |
Create MeshDommain from TSTT classification and geometry interfaces.
Create an instance of an implementation of MeshDomain that uses the TSTTR/Lasso interface to get a handle for the geometric entity associated with a mesh entity and the TSTT geometry interface to evaluate the geometry.
Definition at line 198 of file GeomTSTT.cpp.
References MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
static |
Create MeshDommain from TSTT classification and geometry interfaces.
Create an instance of an implementation of MeshDomain that uses the TSTTR/Lasso interface to get a handle for the geometric entity associated with a mesh entity and the TSTT geometry interface to evaluate the geometry.
Create a MeshDomain for a single geometric entity that uses the TSTT geometry interface for geometric evaluation.
Create a TSTT geometry MeshDomain for a single geometric entity. This implementation will be faster than the one that uses the classification interface because it assumes all entities in the mesh are in the interior of the single geometric entity specified. This implemenation in intended to be used only in the case where the mesh of a single surface is being smoothed and the mesh vertices on the boundary of the surface are fixed.
Create a MeshDomain for a single geometric entity that uses the TSTT geometry interface for geometric evaluation.
Create a TSTT geometry MeshDomain for a single geometric entity. This implementation will be faster than the one that uses the classification interface because it assumes all entities in the mesh are in the interior of the single geometric entity specified. This implemenation in intended to be used only in the case where the mesh of a single surface is being smoothed and the mesh vertices on the boundary of the surface are fixed.
Definition at line 212 of file GeomTSTT.cpp.
References MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().