Returns the vector normal to the specified triangle.
[Visual Basic .NET] Public Sub QueryTriangleNormal ( _ ByVal Triangle As Integer, _ ByVal pNormal As IVector3D _ )
[C#] public void QueryTriangleNormal ( int Triangle, IVector3D pNormal );
[C++]
HRESULT QueryTriangleNormal(
long Triangle,
IVector3D* pNormal
);
[C++]Parameters
Triangle [in] Triangle is a parameter of type long pNormalpNormal is a parameter of type IVector3D
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Returns the surface normal for the specified triangle. This is a vector orthogonal to the plane of the triangle.
Triangle is the triangle index.
pNormal is a vector whose component properties are to be set. It must be instantiated before calling the method. The magnitude of the result is not normalized, it is relative to the size of the triangle. If you need it normalized call IVector3D.Normalize.