Common code for specific implementations of MeshDomain on TSTT interfaces. More...
Public Member Functions | |
GeomTSTTCommon (TSTTG::Geometry &geom) throw (TSTTB::Error ) | |
virtual | ~GeomTSTTCommon () |
void | move_to (void *geom_handle, Vector3D &coord) const throw ( TSTTB::Error ) |
Evaluate the closest point to the input position on the specified geometric entity and return the result in the passed position argument (move the passed position onto the geometry.) More... | |
void | normal (void *geom_handle, Vector3D &coord) const throw ( TSTTB::Error ) |
Given a geometric entity and a position, evaluate the normal on the geometric entity at the closest point on that entity to the input position, and pass back the result in the input coord vector. More... | |
void | normal (void *geom_handle, Vector3D coords[], unsigned count) const throw ( TSTTB::Error ) |
Given a geometric entity and a position, evaluate the normal on the geometric entity at the closest point on that entity to the input position, and pass back the result in the input coord vector. More... | |
void | closest_and_normal (void *geom_handle, const Vector3D &position, Vector3D &closest, Vector3D &normal) const throw (TSTTB::Error) |
Given a geometric entity and a position, get point on the geometric entity closest to the input position, and the surface normal at that position. More... | |
Public Attributes | |
TSTTG::Shape | geomIface |
TSTT geometry interface implementation to query. More... | |
sidl::array< void * > | geomHandles |
Temporary storage for geometry entity handles. More... | |
sidl::array< double > | positionsIn |
Temporary storate for input and output vectors. More... | |
sidl::array< double > | positionsOut |
sidl::array< double > | normalsOut |
Common code for specific implementations of MeshDomain on TSTT interfaces.
This class contains the common functionality used by concrete implementations of MeshDomain on the TSTT geometry interface.
Definition at line 55 of file GeomTSTT.cpp.
GeomTSTTCommon | ( | TSTTG::Geometry & | geom | ) | |
throw | ( | TSTTB::Error | |||
) |
geom | The TSTT geometry interface implementation to query |
Definition at line 407 of file GeomTSTT.cpp.
|
virtual |
Definition at line 414 of file GeomTSTT.cpp.
void closest_and_normal | ( | void * | geom_handle, |
const Vector3D & | position, | ||
Vector3D & | closest, | ||
Vector3D & | normal | ||
) | const | ||
throw | ( | TSTTB::Error | |
) |
Given a geometric entity and a position, get point on the geometric entity closest to the input position, and the surface normal at that position.
Definition at line 479 of file GeomTSTT.cpp.
References Mesquite::convert_from_sidl_vector(), and Mesquite::convert_to_sidl_vector().
Referenced by DomainTSTT::closest_point(), and GeomEntTSTT::closest_point().
void move_to | ( | void * | geom_handle, |
Vector3D & | coord | ||
) | const | ||
throw | ( | TSTTB::Error | |
) |
Evaluate the closest point to the input position on the specified geometric entity and return the result in the passed position argument (move the passed position onto the geometry.)
Definition at line 418 of file GeomTSTT.cpp.
References Mesquite::convert_from_sidl_vector(), Mesquite::convert_to_sidl_vector(), and coord.
Referenced by DomainTSTT::snap_to(), and GeomEntTSTT::snap_to().
void normal | ( | void * | geom_handle, |
Vector3D & | coord | ||
) | const | ||
throw | ( | TSTTB::Error | |
) |
Given a geometric entity and a position, evaluate the normal on the geometric entity at the closest point on that entity to the input position, and pass back the result in the input coord vector.
Definition at line 437 of file GeomTSTT.cpp.
References Mesquite::convert_from_sidl_vector(), Mesquite::convert_to_sidl_vector(), and coord.
Referenced by DomainTSTT::normal_at(), and GeomEntTSTT::normal_at().
void normal | ( | void * | geom_handle, |
Vector3D | coords[], | ||
unsigned | count | ||
) | const | ||
throw | ( | TSTTB::Error | |
) |
Given a geometric entity and a position, evaluate the normal on the geometric entity at the closest point on that entity to the input position, and pass back the result in the input coord vector.
Definition at line 454 of file GeomTSTT.cpp.
References Mesquite::convert_from_sidl_vector(), and Mesquite::convert_to_sidl_vector().
|
mutable |
Temporary storage for geometry entity handles.
Definition at line 99 of file GeomTSTT.cpp.
|
mutable |
TSTT geometry interface implementation to query.
Definition at line 96 of file GeomTSTT.cpp.
|
mutable |
Definition at line 101 of file GeomTSTT.cpp.
|
mutable |
Temporary storate for input and output vectors.
Definition at line 101 of file GeomTSTT.cpp.
|
mutable |
Definition at line 101 of file GeomTSTT.cpp.