Utility.NormalInterpolation (Point3D, Vector3D, Point3D, Vector3D, Point3D) Method

Returns the interpolated normal at the point p somewhere in the middle of the 3D segment defined by the points p1 and p2.
Public Shared Function NormalInterpolation( _ 
ByVal p1 As Point3D, _ 
ByVal n1 As Vector3D, _ 
ByVal p2 As Point3D, _ 
ByVal n2 As Vector3D, _ 
ByVal p As Point3D
) As Vector3D
This language is not supported or no code example is available.
public static Vector3D NormalInterpolation( 
Point3D p1
Vector3D n1
Point3D p2
Vector3D n2
Point3D p 
)
This language is not supported or no code example is available.

Parameters

p1
Point3D

The segment start point

n1
Vector3D

The segment start normal (unit length)

p2
Point3D

The segment end point

n2
Vector3D

The segment end normal (unit length)

p
Point3D

The point

Return Value

Vector3D

The 3D normal vector.

.NET Framework

Supported in: 4.8

In this article

Definition