This group of API functions pertains to general surface queries for Geom surfaces, such as computing 3D location from surface coordinates, identifying curvature, and performing point projections. Click here to return to the main page. More...
Functions | |
vec3d | vsp::CompPnt01 (const std::string &geom_id, const int &surf_indx, const double &u, const double &w) |
vec3d | vsp::CompNorm01 (const std::string &geom_id, const int &surf_indx, const double &u, const double &w) |
vec3d | vsp::CompTanU01 (const std::string &geom_id, const int &surf_indx, const double &u, const double &w) |
vec3d | vsp::CompTanW01 (const std::string &geom_id, const int &surf_indx, const double &u, const double &w) |
void | vsp::CompCurvature01 (const std::string &geom_id, const int &surf_indx, const double &u, const double &w, double &k1_out, double &k2_out, double &ka_out, double &kg_out) |
double | vsp::ProjPnt01 (const std::string &geom_id, const int &surf_indx, const vec3d &pt, double &u_out, double &w_out) |
double | vsp::ProjPnt01I (const std::string &geom_id, const vec3d &pt, int &surf_indx_out, double &u_out, double &w_out) |
double | vsp::ProjPnt01Guess (const std::string &geom_id, const int &surf_indx, const vec3d &pt, const double &u0, const double &w0, double &u_out, double &w_out) |
double | vsp::AxisProjPnt01 (const std::string &geom_id, const int &surf_indx, const int &iaxis, const vec3d &pt, double &u_out, double &w_out) |
double | vsp::AxisProjPnt01I (const std::string &geom_id, const int &iaxis, const vec3d &pt, int &surf_indx_out, double &u_out, double &w_out) |
double | vsp::AxisProjPnt01Guess (const std::string &geom_id, const int &surf_indx, const int &iaxis, const vec3d &pt, const double &u0, const double &w0, double &u_out, double &w_out) |
bool | vsp::InsideSurf (const std::string &geom_id, const int &surf_indx, const vec3d &pt) |
vec3d | vsp::CompPntRST (const std::string &geom_id, const int &surf_indx, const double &r, const double &s, const double &t) |
double | vsp::FindRST (const std::string &geom_id, const int &surf_indx, const vec3d &pt, double &r_out, double &s_out, double &t_out) |
double | vsp::FindRSTGuess (const std::string &geom_id, const int &surf_indx, const vec3d &pt, const double &r0, const double &s0, const double &t0, double &r_out, double &s_out, double &t_out) |
void | vsp::ConvertRSTtoLMN (const std::string &geom_id, const int &surf_indx, const double &r, const double &s, const double &t, double &l_out, double &m_out, double &n_out) |
void | vsp::ConvertRtoL (const std::string &geom_id, const int &surf_indx, const double &r, double &l_out) |
void | vsp::ConvertLMNtoRST (const std::string &geom_id, const int &surf_indx, const double &l, const double &m, const double &n, double &r_out, double &s_out, double &t_out) |
void | vsp::ConvertLtoR (const std::string &geom_id, const int &surf_indx, const double &l, double &r_out) |
void | vsp::ConvertUtoEta (const std::string &geom_id, const double &u, double &eta_out) |
void | vsp::ConvertEtatoU (const std::string &geom_id, const double &eta, double &u_out) |
std::vector< vec3d > | vsp::CompVecPnt01 (const std::string &geom_id, const int &surf_indx, const std::vector< double > &u_in_vec, const std::vector< double > &w_in_vec) |
std::vector< vec3d > | vsp::CompVecNorm01 (const std::string &geom_id, const int &surf_indx, const std::vector< double > &us, const std::vector< double > &ws) |
void | vsp::CompVecCurvature01 (const std::string &geom_id, const int &surf_indx, const std::vector< double > &us, const std::vector< double > &ws, std::vector< double > &k1_out_vec, std::vector< double > &k2_out_vec, std::vector< double > &ka_out_vec, std::vector< double > &kg_out_vec) |
void | vsp::ProjVecPnt01 (const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec) |
void | vsp::ProjVecPnt01Guess (const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, const std::vector< double > &u0s, const std::vector< double > &w0s, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec) |
void | vsp::AxisProjVecPnt01 (const std::string &geom_id, const int &surf_indx, const int &iaxis, const std::vector< vec3d > &pts, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec) |
void | vsp::AxisProjVecPnt01Guess (const std::string &geom_id, const int &surf_indx, const int &iaxis, const std::vector< vec3d > &pts, const std::vector< double > &u0s, const std::vector< double > &w0s, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec) |
std::vector< bool > | vsp::VecInsideSurf (const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts) |
std::vector< vec3d > | vsp::CompVecPntRST (const std::string &geom_id, const int &surf_indx, const std::vector< double > &r_in_vec, const std::vector< double > &s_in_vec, const std::vector< double > &t_in_vec) |
void | vsp::FindRSTVec (const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec, std::vector< double > &d_out_vec) |
void | vsp::FindRSTVecGuess (const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, const std::vector< double > &r0s, const std::vector< double > &s0s, const std::vector< double > &t0s, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec, std::vector< double > &d_out_vec) |
void | vsp::ConvertRSTtoLMNVec (const std::string &geom_id, const int &surf_indx, const std::vector< double > &r_vec, const std::vector< double > &s_vec, const std::vector< double > &t_vec, std::vector< double > &l_out_vec, std::vector< double > &m_out_vec, std::vector< double > &n_out_vec) |
void | vsp::ConvertLMNtoRSTVec (const std::string &geom_id, const int &surf_indx, const std::vector< double > &l_vec, const std::vector< double > &m_vec, const std::vector< double > &n_vec, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec) |
void | vsp::GetUWTess01 (const std::string &geom_id, const int &surf_indx, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec) |
|
extern |
Project an input 3D coordinate point onto a surface along a specified axis. If the axis-aligned ray from the point intersects the surface multiple times, the nearest intersection is returned. If the axis-aligned ray from the point does not intersect the surface, the original point is returned and -1 is returned in the other output parameters.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | iaxis | int Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pt | Input 3D coordinate point |
[out] | u_out | Output closest U (0 - 1) surface coordinate |
[out] | w_out | Output closest W (0 - 1) surface coordinate |
|
extern |
Project an input 3D coordinate point onto a surface along a specified axis given an initial guess of surface parameter. If the axis-aligned ray from the point intersects the surface multiple times, the nearest intersection is returned. If the axis-aligned ray from the point does not intersect the surface, the original point is returned and -1 is returned in the other output parameters. The surface parameter guess should allow this call to be faster than calling AxisProjPnt01 without a guess.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | iaxis | int Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pt | Input 3D coordinate point |
[in] | u0 | Input U (0 - 1) surface coordinate guess |
[in] | w0 | Input W (0 - 1) surface coordinate guess |
[out] | u_out | Output closest U (0 - 1) surface coordinate |
[out] | w_out | Output closest W (0 - 1) surface coordinate |
|
extern |
Project an input 3D coordinate point onto a Geom along a specified axis. The intersecting surface index is also returned. If the axis-aligned ray from the point intersects the Geom multiple times, the nearest intersection is returned. If the axis-aligned ray from the point does not intersect the Geom, the original point is returned and -1 is returned in the other output parameters.
[in] | geom_id | string Parent Geom ID |
[in] | iaxis | int Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pt | Input 3D coordinate point |
[out] | surf_indx_out | Output main surface index from the parent Geom |
[out] | u_out | Output closest U (0 - 1) surface coordinate |
[out] | w_out | Output closest W (0 - 1) surface coordinate |
|
extern |
Project an input array of 3D coordinate points onto a surface along a specified axis. If the axis-aligned ray from the point intersects the surface multiple times, the nearest intersection is returned. If the axis-aligned ray from the point does not intersect the surface, the original point is returned and -1 is returned in the other output parameters.
[in] | geom_id | string Geom ID |
[in] | surf_indx | int Main surface index from the Geom |
[in] | iaxis | int Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[out] | u_out_vec | vector<double> Output vector of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | w_out_vec | vector<double> Output vector of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output vector of axis distances for each 3D point and the projected point of the surface |
|
extern |
Project an input array of 3D coordinate points onto a surface along a specified axis given initial guess arrays of surface parameter. If the axis-aligned ray from the point intersects the surface multiple times, the nearest intersection is returned. If the axis-aligned ray from the point does not intersect the surface, the original point is returned and -1 is returned in the other output parameters. The surface parameter guess should allow this call to be faster than calling AxisProjVecPnt01 without a guess.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | iaxis | int Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[in] | u0s | vector<double> Input vector of U (0 - 1) surface coordinate guesses |
[in] | w0s | vector<double> Input vector of W (0 - 1) surface coordinate guesses |
[out] | u_out_vec | vector<double> Output vector of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | w_out_vec | vector<double> Output vector of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output vector of axis distances for each 3D point and the projected point of the surface |
|
extern |
Determine the curvature of a specified surface at the input surface coordinate point
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u | double U (0 - 1) surface coordinate |
[in] | w | double W (0 - 1) surface coordinate |
[out] | k1_out | double Output value of maximum principal curvature |
[out] | k2_out | double Output value of minimum principal curvature |
[out] | ka_out | double Output value of mean curvature |
[out] | kg_out | double Output value of Gaussian curvature |
|
extern |
Calculate the normal vector on the specified surface at input surface coordinate
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
|
extern |
Calculate the 3D coordinate equivalent for the input surface coordinate point
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
|
extern |
Calculate the (X, Y, Z) coordinate for the input volume (R, S, T) coordinate point
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | r | R (0 - 1) volume coordinate |
[in] | s | S (0 - 1) volume coordinate |
[in] | t | T (0 - 1) volume coordinate |
|
extern |
Calculate the vector tangent to the specified surface at input surface coordinate in the U direction
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
|
extern |
Calculate the vector tangent to the specified surface at input surface coordinate in the W direction
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
|
extern |
Determine the curvature of a specified surface at each surface coordinate point in the input arrays
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | us | vector<double> Input vector of U (0 - 1) surface coordinates |
[in] | ws | vector<double> Input vector of W (0 - 1) surface coordinates |
[out] | k1_out_vec | vector<double> Output vector of maximum principal curvatures |
[out] | k2_out_vec | vector<double> Output vector of minimum principal curvatures |
[out] | ka_out_vec | vector<double> Output vector of mean curvatures |
[out] | kg_out_vec | vector<double> Output vector of Gaussian curvatures |
|
extern |
Determine the normal vector on a surface for each surface coordinate point in the input arrays
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | us | vector<double> Input vector of U (0 - 1) surface coordinates |
[in] | ws | vector<double> Input vector of W (0 - 1) surface coordinates |
|
extern |
Determine 3D coordinate for each surface coordinate point in the input arrays
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | u_in_vec | vector<double> Input vector of U (0 - 1) surface coordinates |
[in] | w_in_vec | vector<double> Input vector of W (0 - 1) surface coordinates |
|
extern |
Determine 3D coordinate for each volume coordinate point in the input arrays
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | r_in_vec | vector<double> Input vector of R (0 - 1.0) volume coordinates |
[in] | s_in_vec | vector<double> Input vector of S (0 - 1.0) volume coordinates |
[in] | t_in_vec | vector<double> Input vector of T (0 - 1.0) volume coordinates |
|
extern |
Convert eta wing coordinate to u coordinate.
[in] | geom_id | string Parent Geom ID |
[in] | eta | Eta (0 - 1) wing spanwise coordinate |
[out] | u_out | U (0 - 1) surface coordinate |
|
extern |
Convert LMN volumetric coordinates to RST coordinates.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | l | L (0 - 1) linear volume coordinate |
[in] | m | M (0 - 1) linear volume coordinate |
[in] | n | N (0 - 1) linear volume coordinate |
[out] | r_out | R (0 - 1) volume coordinate |
[out] | s_out | S (0 - 1) volume coordinate |
[out] | t_out | T (0 - 1) volume coordinate |
|
extern |
Convert vector of LMN volumetric coordinates to RST coordinates.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | l_vec | vector<double> Input vector of L (0 - 1) linear volumetric coordinate |
[in] | m_vec | vector<double> Input vector of M (0 - 1) linear volumetric coordinate |
[in] | n_vec | vector<double> Input vector of N (0 - 1) linear volumetric coordinate |
[out] | r_out_vec | vector<double> Output vector of R (0 - 1) volumetric coordinate |
[out] | s_out_vec | vector<double> Output vector of S (0 - 1) volumetric coordinate |
[out] | t_out_vec | vector<double> Output vector of T (0 - 1) volumetric coordinate |
|
extern |
Convert L volumetric coordinate to R coordinate.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | l | L (0 - 1) volume coordinate |
[out] | r_out | R (0 - 1) linear volume coordinate |
|
extern |
Convert RST volumetric coordinates to LMN coordinates.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | r | R (0 - 1) volume coordinate |
[in] | s | S (0 - 1) volume coordinate |
[in] | t | T (0 - 1) volume coordinate |
[out] | l_out | L (0 - 1) linear volume coordinate |
[out] | m_out | M (0 - 1) linear volume coordinate |
[out] | n_out | N (0 - 1) linear volume coordinate |
|
extern |
Convert vector of RST volumetric coordinates to LMN coordinates.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | r_vec | vector<double> Input vector of R (0 - 1) volumetric coordinate |
[in] | s_vec | vector<double> Input vector of S (0 - 1) volumetric coordinate |
[in] | t_vec | vector<double> Input vector of T (0 - 1) volumetric coordinate |
[out] | l_out_vec | vector<double> Output vector of L (0 - 1) linear volumetric coordinate |
[out] | m_out_vec | vector<double> Output vector of M (0 - 1) linear volumetric coordinate |
[out] | n_out_vec | vector<double> Output vector of N (0 - 1) linear volumetric coordinate |
|
extern |
Convert R volumetric coordinate to L coordinate.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | r | R (0 - 1) volume coordinate |
[out] | l_out | L (0 - 1) linear volume coordinate |
|
extern |
Convert U coordinate to eta wing coordinate.
[in] | geom_id | string Parent Geom ID |
[in] | u | U (0 - 1) surface coordinate |
[out] | eta_out | Eta (0 - 1) wing spanwise coordinate |
|
extern |
Determine the nearest (R, S, T) volume coordinate for an input (X, Y, Z) 3D coordinate point and calculate the distance between the 3D point and the found volume point.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pt | vec3d Input 3D coordinate point |
[out] | r_out | double Output closest R (0 - 1.0) volume coordinate |
[out] | s_out | double Output closest S (0 - 1.0) volume coordinate |
[out] | t_out | double Output closest T (0 - 1.0) volume coordinate |
|
extern |
Determine the nearest (R, S, T) volume coordinate for an input (X, Y, Z) 3D coordinate point given an initial guess of volume coordinates. Also calculate the distance between the 3D point and the found volume point.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pt | vec3d Input 3D coordinate point |
[in] | r0 | double Input R (0 - 1.0) volume coordinate guess |
[in] | s0 | double Input S (0 - 1.0) volume coordinate guess |
[in] | t0 | double Input T (0 - 1.0) volume coordinate guess |
[out] | r_out | double Output closest R (0 - 1.0) volume coordinate |
[out] | s_out | double Output closest S (0 - 1.0) volume coordinate |
[out] | t_out | double Output closest T (0 - 1.0) volume coordinate |
|
extern |
Determine the nearest volume coordinates for an input array of 3D coordinate points and calculate the distance between each 3D point and the found point in the volume.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[out] | r_out_vec | vector<double> Output vector of the closest R (0 - 1.0) volume coordinate for each 3D input point |
[out] | s_out_vec | vector<double> Output vector of the closest S (0 - 1.0) volume coordinate for each 3D input point |
[out] | t_out_vec | vector<double> Output vector of the closest T (0 - 1.0) volume coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output vector of distances for each 3D point and the closest point of the volume |
|
extern |
Determine the nearest volume coordinates for an input array of 3D coordinate points and calculate the distance between each 3D point and the closest point of the volume. This function takes an input array of volume coordinate guesses for each 3D coordinate, offering a potential decrease in computation time compared to FindRSTVec.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[in] | r0s | vector<double> Input vector of U (0 - 1.0) volume coordinate guesses |
[in] | s0s | vector<double> Input vector of S (0 - 1.0) volume coordinate guesses |
[in] | t0s | vector<double> Input vector of T (0 - 1.0) volume coordinate guesses |
[out] | r_out_vec | vector<double> Output vector of the closest R (0 - 1.0) volume coordinate for each 3D input point |
[out] | s_out_vec | vector<double> Output vector of the closest S (0 - 1.0) volume coordinate for each 3D input point |
[out] | t_out_vec | vector<double> Output vector of the closest T (0 - 1.0) volume coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output vector of distances for each 3D point and the closest point of the volume |
|
extern |
Get the surface coordinate point of each intersection of the tessellated wireframe for a particular surface
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[out] | u_out_vec | vector<double> Output vector of U (0 - 1) surface coordinates |
[out] | w_out_vec | vector<double> Output vector of W (0 - 1) surface coordinates |
|
extern |
Test whether a given point is inside a specified surface.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pt | Input 3D coordinate point |
|
extern |
Determine the nearest surface coordinate for an input 3D coordinate point and calculate the distance between the 3D point and the closest point of the surface.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pt | vec3d Input 3D coordinate point |
[out] | u_out | double Output closest U (0 - 1) surface coordinate |
[out] | w_out | double Output closest W (0 - 1) surface coordinate |
|
extern |
Determine the nearest surface coordinate for an input 3D coordinate point and calculate the distance between the 3D point and the closest point of the surface. This function takes an input surface coordinate guess for, offering a potential decrease in computation time compared to ProjPnt01.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pt | vec3d Input 3D coordinate point |
[in] | u0 | double Input U (0 - 1) surface coordinate guess |
[in] | w0 | double Input W (0 - 1) surface coordinate guess |
[out] | u_out | double Output closest U (0 - 1) surface coordinate |
[out] | w_out | double Output closest W (0 - 1) surface coordinate |
|
extern |
Determine the nearest surface coordinate and corresponding parent Geom main surface index for an input 3D coordinate point. Return the distance between the closest point and the input.
[in] | geom_id | string Parent Geom ID |
[in] | pt | vec3d Input 3D coordinate point |
[out] | surf_indx_out | int Output main surface index from the parent Geom |
[out] | u_out | double Output closest U (0 - 1) surface coordinat |
[out] | w_out | double Output closest W (0 - 1) surface coordinat |
|
extern |
Determine the nearest surface coordinates for an input array of 3D coordinate points and calculate the distance between each 3D point and the closest point of the surface.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[out] | u_out_vec | vector<double> Output vector of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | w_out_vec | vector<double> Output vector of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output vector of distances for each 3D point and the closest point of the surface |
|
extern |
Determine the nearest surface coordinates for an input array of 3D coordinate points and calculate the distance between each 3D point and the closest point of the surface. This function takes an input array of surface coordinate guesses for each 3D coordinate, offering a potential decrease in computation time compared to ProjVecPnt01.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |
[in] | u0s | vector<double> Input vector of U (0 - 1) surface coordinate guesses |
[in] | w0s | vector<double> Input vector of W (0 - 1) surface coordinate guesses |
[out] | u_out_vec | vector<double> Output vector of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | w_out_vec | vector<double> Output vector of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | d_out_vec | vector<double> Output array of distances for each 3D point and the closest point of the surface |
|
extern |
Test whether a vector of points are inside a specified surface.
[in] | geom_id | string Parent Geom ID |
[in] | surf_indx | int Main surface index from the parent Geom |
[in] | pts | vector<vec3d> Input vector of 3D coordinate points |