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...
|
vec3d | CompPnt01 (const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w) |
|
vec3d | CompNorm01 (const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w) |
|
vec3d | CompTanU01 (const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w) |
|
vec3d | CompTanW01 (const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w) |
|
void | CompCurvature01 (const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w, double &out k1, double &out k2, double &out ka, double &out kg) |
|
double | ProjPnt01 (const string &in geom_id, const int &in surf_indx, const vec3d &in pt, double &out u, double &out w) |
|
double | ProjPnt01I (const string &in geom_id, const vec3d &in pt, int &out surf_indx, double &out u, double &out w) |
|
double | ProjPnt01Guess (const string &in geom_id, const int &in surf_indx, const vec3d &in pt, const double &in u0, const double &in w0, double &out u, double &out w) |
|
double | AxisProjPnt01 (const string &in geom_id, const int &in surf_indx, const int &in iaxis, const vec3d &in pt, double &out u_out, double &out w_out, vec3d &out p_out) |
|
double | AxisProjPnt01I (const string &in geom_id, const int &in iaxis, const vec3d &in pt, int &out surf_indx_out, double &out u_out, double &out w_out, vec3d &out p_out) |
|
double | AxisProjPnt01Guess (const string &in geom_id, const int &in surf_indx, const int &in iaxis, const vec3d &in pt, const double &in u0, const double &in w0, double &out u_out, double &out w_out, vec3d &out p_out) |
|
bool | InsideSurf (const string &in geom_id, const int &in surf_indx, const vec3d &in pt) |
|
double | FindRST (const string &in geom_id, const int &in surf_indx, const vec3d &in pt, double &out r, double &out s, double &out t) |
|
double | FindRSTGuess (const string &in geom_id, const int &in surf_indx, const vec3d &in pt, const double &in r0, const double &in s0, const double &in t0, double &out r, double &out s, double &out t) |
|
vec3d | CompPntRST (const string &in geom_id, const int &in surf_indx, const double &in r, const double &in s, const double &in t) |
|
vec3d[] | CompVecPntRST (const string &in geom_id, const int &in surf_indx, double[]@ rs, double[]@ ss, double[]@ ts) |
|
vec3d | ConvertRSTtoLMN (const string &in geom_id, const int &in surf_indx, const double &in r, const double &in s, const double &in t, double &out l, double &out m, double &out n) |
|
vec3d | ConvertLMNtoRST (const string &in geom_id, const int &in surf_indx, const double &in l, const double &in m, const double &in n, double &out r, double &out s, double &out t) |
|
void | ConvertRSTtoLMNVec (const string &in geom_id, const int &in surf_indx, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ls, double[]@ ms, double[]@ ns) |
|
void | ConvertLMNtoRSTVec (const string &in geom_id, const int &in surf_indx, double[]@ ls, double[]@ ms, double[]@ ns, double[]@ rs, double[]@ ss, double[]@ ts) |
|
void | GetUWTess01 (const string &in geom_id, int &in surf_indx, double[]@ us, double[]@ ws) |
|
vec3d[] | CompVecPnt01 (const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws) |
|
vec3d[] | CompVecNorm01 (const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws) |
|
void | CompVecCurvature01 (const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs) |
|
void | ProjVecPnt01 (const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds) |
|
void | ProjVecPnt01Guess (const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds) |
|
void | AxisProjVecPnt01 (const string &in geom_id, const int &in surf_indx, const int &in iaxis, vec3d[]@ pts, double[]@ us, double[]@ ws, vec3d[]@ ps_out, double[]@ ds) |
|
void | AxisProjVecPnt01Guess (const string &in geom_id, int &in surf_indx, const int &in iaxis, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, vec3d[]@ ps_out, double[]@ ds) |
|
bool[] | VecInsideSurf (const string &in geom_id, const int &in surf_indx, vec3d[]@ pts) |
|
void | FindRSTVec (const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ds) |
|
void | FindRSTVecGuess (const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ r0s, double[]@ s0s, double[]@ t0s, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ds) |
|
◆ AxisProjPnt01()
double AxisProjPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const int &in |
iaxis, |
|
|
const vec3d &in |
pt, |
|
|
double &out |
u_out, |
|
|
double &out |
w_out, |
|
|
vec3d &out |
p_out |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double u_out, w_out;
Print(
"iDist " + idist +
" u_out " + u_out +
" w_out " + w_out );
Print(
"3D Offset ",
false);
Print( surf_pt - p_out );
- See also
- AxisProjPnt01Guess, AxisProjPnt01I, AxisProjVecPnt01, AxisProjVecPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | iaxis | 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 |
[out] | p_out | Output 3D coordinate point |
- Returns
- Axis aligned distance between the 3D point and the projected point on the surface
◆ AxisProjPnt01Guess()
double AxisProjPnt01Guess |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const int &in |
iaxis, |
|
|
const vec3d &in |
pt, |
|
|
const double &in |
u0, |
|
|
const double &in |
w0, |
|
|
double &out |
u_out, |
|
|
double &out |
w_out, |
|
|
vec3d &out |
p_out |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double u0 = u + 0.01234;
double w0 = w - 0.05678;
double uout, wout;
Print(
"Dist " + d +
" u " + uout +
" w " + wout );
- See also
- AxisProjPnt01, AxisProjPnt01I, AxisProjVecPnt01, AxisProjVecPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | iaxis | 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 |
[out] | p_out | Output 3D coordinate point |
- Returns
- Distance between the 3D point and the closest point of the surface
◆ AxisProjPnt01I()
double AxisProjPnt01I |
( |
const string &in |
geom_id, |
|
|
const int &in |
iaxis, |
|
|
const vec3d &in |
pt, |
|
|
int &out |
surf_indx_out, |
|
|
double &out |
u_out, |
|
|
double &out |
w_out, |
|
|
vec3d &out |
p_out |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double u_out, w_out;
int surf_indx_out;
Print(
"iDist " + idist +
" u_out " + u_out +
" w_out " + w_out +
" surf_index " + surf_indx_out );
Print(
"3D Offset ",
false);
Print( surf_pt - p_out );
- See also
- AxisProjPnt01, AxisProjPnt01Guess, AxisProjVecPnt01, AxisProjVecPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | iaxis | 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 |
[out] | p_out | Output 3D coordinate point |
- Returns
- Axis aligned distance between the 3D point and the projected point on the surface
◆ AxisProjVecPnt01()
void AxisProjVecPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const int &in |
iaxis, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
us, |
|
|
double@[] |
ws, |
|
|
vec3d@[] |
ps_out, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
for( int i = 0 ; i < n ; i++ )
{
ptvec[i].offset_y( -5.0 );
}
for( int i = 0 ; i < n ; i++ )
{
Print(
"U delta ",
false );
Print( uvec[i] - uoutv[i],
false );
Print(
"W delta ",
false );
Print( wvec[i] - woutv[i] );
}
- See also
- AxisProjPnt01, AxisProjPnt01Guess, AxisProjPnt01I, AxisProjVecPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | iaxis | Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pts | Input array of 3D coordinate points |
[out] | us | Output array of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | ws | Output array of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | ps_out | Output array of 3D coordinate point |
[out] | ds | Output array of axis distances for each 3D point and the projected point of the surface |
◆ AxisProjVecPnt01Guess()
void AxisProjVecPnt01Guess |
( |
const string &in |
geom_id, |
|
|
int &in |
surf_indx, |
|
|
const int &in |
iaxis, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
u0s, |
|
|
double@[] |
w0s, |
|
|
double@[] |
us, |
|
|
double@[] |
ws, |
|
|
vec3d@[] |
ps_out, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
for( int i = 0 ; i < n ; i++ )
{
ptvec[i].offset_y( -5.0 );
}
u0v.resize( n );
w0v.resize( n );
for( int i = 0 ; i < n ; i++ )
{
u0v[i] = uvec[i] + 0.01234;
w0v[i] = wvec[i] - 0.05678;
}
for( int i = 0 ; i < n ; i++ )
{
Print(
"U delta ",
false );
Print( uvec[i] - uoutv[i],
false );
Print(
"W delta ",
false );
Print( wvec[i] - woutv[i] );
}
- See also
- AxisProjPnt01, AxisProjPnt01Guess, AxisProjPnt01I, AxisProjVecPnt01
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | iaxis | Axis direction to project point along (X_DIR, Y_DIR, or Z_DIR) |
[in] | pts | Input array of 3D coordinate points |
[in] | u0s | Input array of U (0 - 1) surface coordinate guesses |
[in] | w0s | Input array of W (0 - 1) surface coordinate guesses |
[out] | us | Output array of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | ws | Output array of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | ps_out | Output array of 3D coordinate point |
[out] | ds | Output array of axis distances for each 3D point and the projected point of the surface |
◆ CompCurvature01()
void CompCurvature01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
u, |
|
|
const double &in |
w, |
|
|
double &out |
k1, |
|
|
double &out |
k2, |
|
|
double &out |
ka, |
|
|
double &out |
kg |
|
) |
| |
Determine the curvature of a specified surface at the input surface coordinate point
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double k1, k2, ka, kg;
double u, w;
u = 0.25;
w = 0.75;
Print(
"Curvature : k1 " + k1 +
" k2 " + k2 +
" ka " + ka +
" kg " + kg );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
[out] | k1 | Output value of maximum principal curvature |
[out] | k2 | Output value of minimum principal curvature |
[out] | ka | Output value of mean curvature |
[out] | kg | Output value of Gaussian curvature |
◆ CompNorm01()
vec3d CompNorm01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
u, |
|
|
const double &in |
w |
|
) |
| |
Calculate the normal vector on the specified surface at input surface coordinate
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
Print(
"Point: ( " + norm.
x() +
', ' + norm.
y() +
', ' + norm.
z() +
' )' );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
- Returns
- Normal vector
◆ CompPnt01()
vec3d CompPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
u, |
|
|
const double &in |
w |
|
) |
| |
Calculate the 3D coordinate equivalent for the input surface coordinate point
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
Print(
"Point: ( " + pnt.
x() +
', ' + pnt.
y() +
', ' + pnt.
z() +
' )' );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
- Returns
- Normal vector3D coordinate point
◆ CompPntRST()
vec3d CompPntRST |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
r, |
|
|
const double &in |
s, |
|
|
const double &in |
t |
|
) |
| |
Calculate the (X, Y, Z) coordinate for the input volume (R, S, T) coordinate point
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double r = 0.12;
double s = 0.34;
double t = 0.56;
Print(
"Point: ( " + pnt.
x() +
', ' + pnt.
y() +
', ' + pnt.
z() +
' )' );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | r | R (0 - 1) volume coordinate |
[in] | s | S (0 - 0.5) volume coordinate |
[in] | t | T (0 - 1) volume coordinate |
- Returns
- vec3d coordinate point
◆ CompTanU01()
vec3d CompTanU01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
u, |
|
|
const double &in |
w |
|
) |
| |
Calculate the vector tangent to the specified surface at input surface coordinate in the U direction
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
Print(
"Point: ( " + tanu.
x() +
', ' + tanu.
y() +
', ' + tanu.
z() +
' )' );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
- Returns
- Tangent vector in U direction
◆ CompTanW01()
vec3d CompTanW01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
u, |
|
|
const double &in |
w |
|
) |
| |
Calculate the vector tangent to the specified surface at input surface coordinate in the W direction
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
Print(
"Point: ( " + tanw.
x() +
', ' + tanw.
y() +
', ' + tanw.
z() +
' )' );
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | u | U (0 - 1) surface coordinate |
[in] | w | W (0 - 1) surface coordinate |
- Returns
- Tangent vector in W direction
◆ CompVecCurvature01()
void CompVecCurvature01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
us, |
|
|
double@[] |
ws, |
|
|
double@[] |
k1s, |
|
|
double@[] |
k2s, |
|
|
double@[] |
kas, |
|
|
double@[] |
kgs |
|
) |
| |
Determine the curvature of a specified surface at each surface coordinate point in the input arrays
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | us | Input array of U (0 - 1) surface coordinates |
[in] | ws | Input array of W (0 - 1) surface coordinates |
[out] | k1s | Output array of maximum principal curvatures |
[out] | k2s | Output array of minimum principal curvatures |
[out] | kas | Output array of mean curvatures |
[out] | kgs | Output array of Gaussian curvatures |
◆ CompVecNorm01()
vec3d [] CompVecNorm01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
us, |
|
|
double@[] |
ws |
|
) |
| |
Determine the normal vector on a surface for each surface coordinate point in the input arrays
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | us | Input array of U (0 - 1) surface coordinates |
[in] | ws | Input array of W (0 - 1) surface coordinates |
- Returns
- Array of 3D normal vectors
◆ CompVecPnt01()
vec3d [] CompVecPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
us, |
|
|
double@[] |
ws |
|
) |
| |
Determine 3D coordinate for each surface coordinate point in the input arrays
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | us | Input array of U (0 - 1) surface coordinates |
[in] | ws | Input array of W (0 - 1) surface coordinates |
- Returns
- Array of 3D coordinate points
◆ CompVecPntRST()
vec3d [] CompVecPntRST |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
rs, |
|
|
double@[] |
ss, |
|
|
double@[] |
ts |
|
) |
| |
Determine 3D coordinate for each volume coordinate point in the input arrays
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
rvec.resize( n );
svec.resize( n );
tvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
rvec[i] = (i+1)*1.0/(n+1);
svec[i] = (n-i)*0.5/(n+1);
tvec[i] = (i+1)*1.0/(n+1);
}
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | rs | Input array of R (0 - 1.0) volume coordinates |
[in] | ss | Input array of S (0 - 0.5) volume coordinates |
[in] | ts | Input array of T (0 - 1.0) volume coordinates |
- Returns
- Array of 3D coordinate points
◆ ConvertLMNtoRST()
vec3d ConvertLMNtoRST |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
l, |
|
|
const double &in |
m, |
|
|
const double &in |
n, |
|
|
double &out |
r, |
|
|
double &out |
s, |
|
|
double &out |
t |
|
) |
| |
Convert LMN volumetric coordinates to RST coordinates.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double l = 0.12;
double m = 0.34;
double n = 0.56;
double r, s, t;
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | 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 | R (0 - 1) volume coordinate |
[out] | s | S (0 - 0.5) volume coordinate |
[out] | t | T (0 - 1) volume coordinate |
- Returns
- void
◆ ConvertLMNtoRSTVec()
void ConvertLMNtoRSTVec |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
ls, |
|
|
double@[] |
ms, |
|
|
double@[] |
ns, |
|
|
double@[] |
rs, |
|
|
double@[] |
ss, |
|
|
double@[] |
ts |
|
) |
| |
Convert vector of LMN volumetric coordinates to RST coordinates.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
lvec.resize( n );
mvec.resize( n );
nvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
lvec[i] = (i+1)*1.0/(n+1);
mvec[i] = (n-i)*1.0/(n+1);
nvec[i] = (i+1)*1.0/(n+1);
}
- See also
- ConvertRSTtoLMNVec, ConvertRSTtoLMN, ConvertLMNtoRST
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | rs | Input array of R (0 - 1) volumetric coordinate |
[in] | ss | Input array of S (0 - 0.5) volumetric coordinate |
[in] | ts | Input array of T (0 - 1) volumetric coordinate |
[out] | ls | Output array of L (0 - 1) linear volumetric coordinate |
[out] | ms | Output array of M (0 - 1) linear volumetric coordinate |
[out] | ns | Output array of N (0 - 1) linear volumetric coordinate |
◆ ConvertRSTtoLMN()
vec3d ConvertRSTtoLMN |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const double &in |
r, |
|
|
const double &in |
s, |
|
|
const double &in |
t, |
|
|
double &out |
l, |
|
|
double &out |
m, |
|
|
double &out |
n |
|
) |
| |
Convert RST volumetric coordinates to LMN coordinates.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double r = 0.12;
double s = 0.34;
double t = 0.56;
double l, m, n;
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | r | R (0 - 1) volume coordinate |
[in] | s | S (0 - 0.5) volume coordinate |
[in] | t | T (0 - 1) volume coordinate |
[out] | l | L (0 - 1) linear volume coordinate |
[out] | m | M (0 - 1) linear volume coordinate |
[out] | n | N (0 - 1) linear volume coordinate |
- Returns
- void
◆ ConvertRSTtoLMNVec()
void ConvertRSTtoLMNVec |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
double@[] |
rs, |
|
|
double@[] |
ss, |
|
|
double@[] |
ts, |
|
|
double@[] |
ls, |
|
|
double@[] |
ms, |
|
|
double@[] |
ns |
|
) |
| |
Convert vector of RST volumetric coordinates to LMN coordinates.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
rvec.resize( n );
svec.resize( n );
tvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
rvec[i] = (i+1)*1.0/(n+1);
svec[i] = 0.5 * (n-i)*1.0/(n+1);
tvec[i] = (i+1)*1.0/(n+1);
}
- See also
- ConvertLMNtoRSTVec, ConvertRSTtoLMN, ConvertLMNtoRST
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | rs | Input array of R (0 - 1) volumetric coordinate |
[in] | ss | Input array of S (0 - 0.5) volumetric coordinate |
[in] | ts | Input array of T (0 - 1) volumetric coordinate |
[out] | ls | Output array of L (0 - 1) linear volumetric coordinate |
[out] | ms | Output array of M (0 - 1) linear volumetric coordinate |
[out] | ns | Output array of N (0 - 1) linear volumetric coordinate |
◆ FindRST()
double FindRST |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const vec3d &in |
pt, |
|
|
double &out |
r, |
|
|
double &out |
s, |
|
|
double &out |
t |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double r = 0.12;
double s = 0.34;
double t = 0.56;
double rout, sout, tout;
double d =
FindRST( geom_id, surf_indx, pnt, rout, sout, tout );
Print(
"Dist " + d +
" r " + rout +
" s " + sout +
" t " + tout );
- See also
- FindRSTGuess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pt | Input 3D coordinate point |
[out] | r | Output closest R (0 - 1.0) volume coordinate |
[out] | s | Output closest S (0 - 0.5) volume coordinate |
[out] | t | Output closest T (0 - 1.0) volume coordinate |
- Returns
- Distance between the 3D point and the closest point of the volume
◆ FindRSTGuess()
double FindRSTGuess |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const vec3d &in |
pt, |
|
|
const double &in |
r0, |
|
|
const double &in |
s0, |
|
|
const double &in |
t0, |
|
|
double &out |
r, |
|
|
double &out |
s, |
|
|
double &out |
t |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double r = 0.12;
double s = 0.34;
double t = 0.56;
double rout, sout, tout;
double r0 = 0.1;
double s0 = 0.3;
double t0 = 0.5;
double d =
FindRSTGuess( geom_id, surf_indx, pnt, r0, s0, t0, rout, sout, tout );
Print(
"Dist " + d +
" r " + rout +
" s " + sout +
" t " + tout );
- See also
- FindRST
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pt | Input 3D coordinate point |
[in] | r0 | Input R (0 - 1.0) volume coordinate guess |
[in] | s0 | Input S (0 - 0.5) volume coordinate guess |
[in] | t0 | Input T (0 - 1.0) volume coordinate guess |
[out] | r | Output closest R (0 - 1.0) volume coordinate |
[out] | s | Output closest S (0 - 0.5) volume coordinate |
[out] | t | Output closest T (0 - 1.0) volume coordinate |
- Returns
- Distance between the 3D point and the closest point of the volume
◆ FindRSTVec()
void FindRSTVec |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
rs, |
|
|
double@[] |
ss, |
|
|
double@[] |
ts, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
rvec.resize( n );
svec.resize( n );
tvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
rvec[i] = (i+1)*1.0/(n+1);
svec[i] = (n-i)*0.5/(n+1);
tvec[i] = (i+1)*1.0/(n+1);
}
FindRSTVec( geom_id, 0, ptvec, routv, soutv, toutv, doutv );
- See also
- FindRSTVecGuess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pts | Input array of 3D coordinate points |
[out] | rs | Output array of the closest R (0 - 1.0) volume coordinate for each 3D input point |
[out] | ss | Output array of the closest S (0 - 0.5) volume coordinate for each 3D input point |
[out] | ts | Output array of the closest T (0 - 1.0) volume coordinate for each 3D input point |
[out] | ds | Output array of distances for each 3D point and the closest point of the volume |
◆ FindRSTVecGuess()
void FindRSTVecGuess |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
r0s, |
|
|
double@[] |
s0s, |
|
|
double@[] |
t0s, |
|
|
double@[] |
rs, |
|
|
double@[] |
ss, |
|
|
double@[] |
ts, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
rvec.resize( n );
svec.resize( n );
tvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
rvec[i] = (i+1)*1.0/(n+1);
svec[i] = (n-i)*0.5/(n+1);
tvec[i] = (i+1)*1.0/(n+1);
}
for( int i = 0 ; i < n ; i++ )
{
ptvec[i] = ptvec[i] * 0.9;
}
FindRSTVecGuess( geom_id, 0, ptvec, rvec, svec, tvec, routv, soutv, toutv, doutv );
- See also
- FindRSTVec,
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pts | Input array of 3D coordinate points |
[in] | r0s | Input array of U (0 - 1.0) volume coordinate guesses |
[in] | s0s | Input array of S (0 - 0.5) volume coordinate guesses |
[in] | t0s | Input array of T (0 - 1.0) volume coordinate guesses |
[out] | rs | Output array of the closest R (0 - 1.0) volume coordinate for each 3D input point |
[out] | ss | Output array of the closest S (0 - 0.5) volume coordinate for each 3D input point |
[out] | ts | Output array of the closest T (0 - 1.0) volume coordinate for each 3D input point |
[out] | ds | Output array of distances for each 3D point and the closest point of the volume |
◆ GetUWTess01()
void GetUWTess01 |
( |
const string &in |
geom_id, |
|
|
int &in |
surf_indx, |
|
|
double@[] |
us, |
|
|
double@[] |
ws |
|
) |
| |
Get the surface coordinate point of each intersection of the tessellated wireframe for a particular surface
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[out] | us | Output array of U (0 - 1) surface coordinates |
[out] | ws | Output array of W (0 - 1) surface coordinates |
◆ InsideSurf()
bool InsideSurf |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const vec3d &in |
pt |
|
) |
| |
Test whether a given point is inside a specified surface.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double r = 0.12;
double s = 0.34;
double t = 0.56;
if ( res )
{
print( "Inside" );
}
else
{
print( "Outside" );
}
- See also
- VecInsideSurf
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pt | Input 3D coordinate point |
- Returns
- Boolean true if the point is inside the surface, false otherwise.
◆ ProjPnt01()
double ProjPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const vec3d &in |
pt, |
|
|
double &out |
u, |
|
|
double &out |
w |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double uout, wout;
pnt = pnt + norm;
double d =
ProjPnt01( geom_id, surf_indx, pnt, uout, wout );
Print(
"Dist " + d +
" u " + uout +
" w " + wout );
- See also
- ProjPnt01Guess, ProjPnt01I
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pt | Input 3D coordinate point |
[out] | u | Output closest U (0 - 1) surface coordinate |
[out] | w | Output closest W (0 - 1) surface coordinate |
- Returns
- Distance between the 3D point and the closest point of the surface
◆ ProjPnt01Guess()
double ProjPnt01Guess |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
const vec3d &in |
pt, |
|
|
const double &in |
u0, |
|
|
const double &in |
w0, |
|
|
double &out |
u, |
|
|
double &out |
w |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double d = 0;
double uout, wout;
pnt = pnt + norm;
d =
ProjPnt01Guess( geom_id, surf_indx, pnt, u + 0.1, w + 0.1, uout, wout );
Print(
"Dist " + d +
" u " + uout +
" w " + wout );
- See also
- ProjPnt01, ProjPnt01I
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[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 | Output closest U (0 - 1) surface coordinate |
[out] | w | Output closest W (0 - 1) surface coordinate |
- Returns
- Distance between the 3D point and the closest point of the surface
◆ ProjPnt01I()
double ProjPnt01I |
( |
const string &in |
geom_id, |
|
|
const vec3d &in |
pt, |
|
|
int &out |
surf_indx, |
|
|
double &out |
u, |
|
|
double &out |
w |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
double u = 0.12345;
double w = 0.67890;
double d = 0;
double uout, wout;
int surf_indx_out;
pnt = pnt + norm;
d =
ProjPnt01I( geom_id, pnt, surf_indx_out, uout, wout );
Print(
"Dist " + d +
" u " + uout +
" w " + wout +
" surf_index " + surf_indx_out );
- See also
- ProjPnt01, ProjPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | pt | Input 3D coordinate point |
[out] | surf_indx | Output main surface index from the parent Geom |
[out] | u | Output closest U (0 - 1) surface coordinat |
[out] | w | Output closest W (0 - 1) surface coordinat |
- Returns
- Distance between the 3D point and the closest point of the surface
◆ ProjVecPnt01()
void ProjVecPnt01 |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
us, |
|
|
double@[] |
ws, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
for( int i = 0 ; i < n ; i++ )
{
ptvec[i] = ptvec[i] + normvec[i];
}
- See also
- ProjVecPnt01Guess
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pts | Input array of 3D coordinate points |
[out] | us | Output array of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | ws | Output array of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | ds | Output array of distances for each 3D point and the closest point of the surface |
◆ ProjVecPnt01Guess()
void ProjVecPnt01Guess |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
vec3d@[] |
pts, |
|
|
double@[] |
u0s, |
|
|
double@[] |
w0s, |
|
|
double@[] |
us, |
|
|
double@[] |
ws, |
|
|
double@[] |
ds |
|
) |
| |
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.
string geom_id =
AddGeom(
"POD",
"" );
int n = 5;
uvec.resize( n );
wvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
uvec[i] = (i+1)*1.0/(n+1);
wvec[i] = (n-i)*1.0/(n+1);
}
for( int i = 0 ; i < n ; i++ )
{
ptvec[i] = ptvec[i] + normvec[i];
}
u0v.resize( n );
w0v.resize( n );
for( int i = 0 ; i < n ; i++ )
{
u0v[i] = uvec[i] + 0.01234;
w0v[i] = wvec[i] - 0.05678;
}
- See also
- ProjVecPnt01,
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pts | Input array of 3D coordinate points |
[in] | u0s | Input array of U (0 - 1) surface coordinate guesses |
[in] | w0s | Input array of W (0 - 1) surface coordinate guesses |
[out] | us | Output array of the closest U (0 - 1) surface coordinate for each 3D input point |
[out] | ws | Output array of the closest W (0 - 1) surface coordinate for each 3D input point |
[out] | ds | Output array of distances for each 3D point and the closest point of the surface |
◆ VecInsideSurf()
bool [] VecInsideSurf |
( |
const string &in |
geom_id, |
|
|
const int &in |
surf_indx, |
|
|
vec3d@[] |
pts |
|
) |
| |
Test whether a vector of points are inside a specified surface.
string geom_id =
AddGeom(
"POD",
"" );
int surf_indx = 0;
int n = 5;
rvec.resize( n );
svec.resize( n );
tvec.resize( n );
for( int i = 0 ; i < n ; i++ )
{
rvec[i] = (i+1)*1.0/(n+1);
svec[i] = (n-i)*0.5/(n+1);
tvec[i] = (i+1)*1.0/(n+1);
}
- See also
- VecInsideSurf
- Parameters
-
[in] | geom_id | Parent Geom ID |
[in] | surf_indx | Main surface index from the parent Geom |
[in] | pts | Input array of 3D coordinate points |
- Returns
- Boolean vector for each point. True if it is inside the surface, false otherwise.
void ProjVecPnt01Guess(const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds)
void GetUWTess01(const string &in geom_id, int &in surf_indx, double[]@ us, double[]@ ws)
double AxisProjPnt01(const string &in geom_id, const int &in surf_indx, const int &in iaxis, const vec3d &in pt, double &out u_out, double &out w_out, vec3d &out p_out)
void AxisProjVecPnt01(const string &in geom_id, const int &in surf_indx, const int &in iaxis, vec3d[]@ pts, double[]@ us, double[]@ ws, vec3d[]@ ps_out, double[]@ ds)
void FindRSTVec(const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ds)
vec3d CompPntRST(const string &in geom_id, const int &in surf_indx, const double &in r, const double &in s, const double &in t)
double FindRST(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, double &out r, double &out s, double &out t)
void FindRSTVecGuess(const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ r0s, double[]@ s0s, double[]@ t0s, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ds)
double AxisProjPnt01I(const string &in geom_id, const int &in iaxis, const vec3d &in pt, int &out surf_indx_out, double &out u_out, double &out w_out, vec3d &out p_out)
vec3d[] CompVecNorm01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws)
void ConvertRSTtoLMNVec(const string &in geom_id, const int &in surf_indx, double[]@ rs, double[]@ ss, double[]@ ts, double[]@ ls, double[]@ ms, double[]@ ns)
bool[] VecInsideSurf(const string &in geom_id, const int &in surf_indx, vec3d[]@ pts)
vec3d CompTanW01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
vec3d[] CompVecPntRST(const string &in geom_id, const int &in surf_indx, double[]@ rs, double[]@ ss, double[]@ ts)
vec3d[] CompVecPnt01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws)
void CompVecCurvature01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs)
vec3d ConvertLMNtoRST(const string &in geom_id, const int &in surf_indx, const double &in l, const double &in m, const double &in n, double &out r, double &out s, double &out t)
vec3d ConvertRSTtoLMN(const string &in geom_id, const int &in surf_indx, const double &in r, const double &in s, const double &in t, double &out l, double &out m, double &out n)
void ConvertLMNtoRSTVec(const string &in geom_id, const int &in surf_indx, double[]@ ls, double[]@ ms, double[]@ ns, double[]@ rs, double[]@ ss, double[]@ ts)
void CompCurvature01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w, double &out k1, double &out k2, double &out ka, double &out kg)
double ProjPnt01Guess(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, const double &in u0, const double &in w0, double &out u, double &out w)
void AxisProjVecPnt01Guess(const string &in geom_id, int &in surf_indx, const int &in iaxis, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, vec3d[]@ ps_out, double[]@ ds)
A class for representing 3D vectors.
vec3d CompPnt01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
AngelScript ScriptExtension for representing the C++ std::vector.
double FindRSTGuess(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, const double &in r0, const double &in s0, const double &in t0, double &out r, double &out s, double &out t)
double ProjPnt01(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, double &out u, double &out w)
void offset_y(double offset)
vec3d CompNorm01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
string AddGeom(const string &in type, const string &in parent=string())
void ProjVecPnt01(const string &in geom_id, const int &in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds)
void Print(const string &in data, bool new_line=true)
double ProjPnt01I(const string &in geom_id, const vec3d &in pt, int &out surf_indx, double &out u, double &out w)
double AxisProjPnt01Guess(const string &in geom_id, const int &in surf_indx, const int &in iaxis, const vec3d &in pt, const double &in u0, const double &in w0, double &out u_out, double &out w_out, vec3d &out p_out)
bool InsideSurf(const string &in geom_id, const int &in surf_indx, const vec3d &in pt)
vec3d CompTanU01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)