IEncode3DProperties Interface

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

Members

Name Description
Method PackNormal Encodes a normal into part of a double. A normal and texture information can both be packed in a single double without conflict.
Method PackTexture2D Encodes texture coordinates into part of a double. A normal and texture information can both be packed in a single double without conflict.
Method UnPackNormal Decodes a normal from a double.
Method UnPackTexture2D Decodes texture coordinates.

IEncode3DProperties.PackNormal Method

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

Public Sub PackNormal ( _
    ByVal normalVector As IVector3D, _
    ByRef packedNormal As Double _
)
public void PackNormal (
    IVector3D normalVector,
    ref double packedNormal
);

IEncode3DProperties.PackTexture2D Method

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

Public Sub PackTexture2D ( _
    ByVal textureS As Double, _
    ByVal textureT As Double, _
    ByRef packedTexture As Double _
)
public void PackTexture2D (
    double textureS,
    double textureT,
    ref double packedTexture
);

IEncode3DProperties.UnPackNormal Method

Decodes a normal from a double.

Public Sub UnPackNormal ( _
    ByVal packedNormal As Double, _
    ByVal normalVector As IVector3D, _
    ByRef wasProductive As Boolean _
)
public void UnPackNormal (
    double packedNormal,
    IVector3D normalVector,
    ref bool wasProductive
);

IEncode3DProperties.UnPackTexture2D Method

Decodes texture coordinates.

Public Sub UnPackTexture2D ( _
    ByVal packedTextureST As Double, _
    ByRef textureS As Double, _
    ByRef textureT As Double, _
    ByRef wasProductive As Boolean _
)
public void UnPackTexture2D (
    double packedTextureST,
    ref double textureS,
    ref double textureT,
    ref bool wasProductive
);

Classes that implement IEncode3DProperties

Classes Description
GeometryEnvironment Provides a way of creating geometries from different inputs and setting/getting global variables for controlling behavior of geometry methods.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.