EvaluateAtPoint Method (ISurface)

Evaluates a surface at the specified XYZ point.

.NET Syntax

Visual Basic (Declaration)
```Function EvaluateAtPoint( _
ByVal PositionX As Double, _
ByVal PositionY As Double, _
ByVal PositionZ As Double _
) As Object```
Visual Basic (Usage)
``````Dim instance As ISurface
Dim PositionX As Double
Dim PositionY As Double
Dim PositionZ As Double
Dim value As Object

value = instance.EvaluateAtPoint(PositionX, PositionY, PositionZ)``````
C#
```object EvaluateAtPoint(
double PositionX,
double PositionY,
double PositionZ
)```
C++/CLI
```Object^ EvaluateAtPoint(
&   double PositionX,
&   double PositionY,
&   double PositionZ
) ```

PositionX

X position

PositionY

Y position

PositionZ

Z position

Return Value

Array of doubles (see Remarks)

Remarks

This method calculates the normal, the principal directions, and the principal curvatures, of the surface at the specified point.

Use IFace2::FaceInSurfaceSense to check the directions of the face normal and surface normal. IFace2::FaceInSurfaceSense returns true when the face normal and surface normal point in opposite directions, and false when they point in the same direction.

The return value is the following array of eleven doubles:

[surfNorm[i, j, k], principalDir1[i, j, k], principalDir2[I, j, k], principalCurvature1, principalCurvature2 ]

where:

surfNorm[i, j, k] = normalized vector describing the surface normal

principalDir1[i, j, k] = normalized vector describing the first principal direction

principalDir2[i, j, k] = normalized vector describing the second principal direction

principalCurvature1 = first principal curvature

principalCurvature2 = second principal curvature

Principal Curvature 1 is the minimum normal curvature at the point (largest radius). Principal Curvature 2 is the maximum normal curvature at the point.

The tangent direction producing Principal Curvature 1 is called the first principal direction, and the tangent direction producing Principal Curvature 1 is called the second principal direction.

It is a property of differentiable surfaces that principalDir1 and principalDir2 are orthogonal.

A positive curvature by convention implies a centre of curvature on the side pointed away from by the surface normal (convex).

See "Faux and Pratt Computational Geometry for Design and Manufacture" for more information.

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: EvaluateAtPoint Method (ISurface) *Comment: * I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

Never show this message again
x

Web Help Content Version: API Help (English only) 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.