This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinSurface3 Interface > ITinSurface3.QueryTriangleNormal Method (ArcObjects .NET 10.4 SDK) |
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 pNormal
pNormal is a parameter of type IVector3D
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.