Interface IEncode3DProperties

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that encode and decode normals and 2D texture coordinates into a single double value.

[Guid("7767A6F1-69D1-11D4-9F66-00C04F6BDF0D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IEncode3DProperties

Methods

PackNormal(IVector3D, out double)

Encodes a normal into part of a double. A normal and texture information can both be packed in a single double without conflict.

void PackNormal(IVector3D normalVector, out double packedNormal)

Parameters

normalVector IVector3D
packedNormal double

PackTexture2D(double, double, out double)

Encodes texture coordinates into part of a double. A normal and texture information can both be packed in a single double without conflict.

void PackTexture2D(double textureS, double textureT, out double packedTexture)

Parameters

textureS double
textureT double
packedTexture double

UnPackNormal(double, IVector3D, out bool)

Decodes a normal from a double.

void UnPackNormal(double packedNormal, IVector3D normalVector, out bool wasProductive)

Parameters

packedNormal double
normalVector IVector3D
wasProductive bool

UnPackTexture2D(double, out double, out double, out bool)

Decodes texture coordinates.

void UnPackTexture2D(double packedTextureST, out double textureS, out double textureT, out bool wasProductive)

Parameters

packedTextureST double
textureS double
textureT double
wasProductive bool