User's Guide > Core: 3D Geometry > Evaluating Geometry > Evaluating Surfaces, Edges, and Curves
Evaluating Surfaces, Edges, and Curves
 
Functions Introduced:
ProSurfaceXyzdataEval()
ProEdgeXyzdataEval()
ProCurveXyzdataEval()
ProEdgeUvdataEval()
ProSurfaceUvpntVerify()
ProContourUvpntVerify()
The function ProSurfaceXyzdataEval() evaluates the parametric equations for a surface at a point specified by its u and v values. The inputs to the function are the ProSurface object and the u and v values. The u and v values are obtained by specifying the projection type as PRO_SRFTESS_NO_PROJECTION for the function ProSurfacetessellationinputUvprojectionSet().
The function outputs are as follows:
The X, Y, and Z coordinates of the point, with respect to the model coordinates
The first partial derivatives of X, Y, and Z, with respect to u and v
The second partial derivatives of X, Y, and Z, with respect to u and v
A unit vector in the direction of the outward normal to the surface at that point
The function ProEdgeXyzdataEval() performs a similar role for an edge. Its inputs are the ProEdge object and the value of t at the required point. The function outputs are as follows:
The X, Y, and Z coordinates of the point, with respect to the model coordinates
The first partial derivatives of X, Y, and Z, with respect to t
The second partial derivatives of X, Y, and Z, with respect to t
A unit vector in the direction of the edge
You must allocate a memory location for each of the output arguments of these two functions. Pass a NULL pointer if you do not want to use an output argument. You cannot pass a null for both the output arguments.
The function ProCurveXyzdataEval() is equivalent to ProEdgeXyzdataEval(), but works for datum curves.
The ProEdgeUvdataEval() function relates the geometry of a point on an edge to the surfaces that meet at that point.
The function ProSurfaceUvpntVerify() verifies whether a surface point, specified by its u and v values, lies inside, outside, or very close to the boundary of the surface. The u and v values are obtained by specifying the projection type as PRO_SRFTESS_NO_PROJECTION for the function ProSurfacetessellationinputUvprojectionSet().
Function ProContourUvpntVerify() does the same for points on a given contour.
这对您有帮助吗?