com.esri.arcgis.geometry
Interface IEncode3DProperties

All Superinterfaces:
Serializable
All Known Implementing Classes:
GeometryEnvironment

public interface IEncode3DProperties
extends Serializable

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void packNormal(IVector3D normalVector, double[] packedNormal)
          Encodes a normal into part of a double.
 void packTexture2D(double textureS, double textureT, double[] packedTexture)
          Encodes texture coordinates into part of a double.
 void unPackNormal(double packedNormal, IVector3D normalVector, boolean[] wasProductive)
          Decodes a normal from a double.
 void unPackTexture2D(double packedTextureST, double[] textureS, double[] textureT, boolean[] wasProductive)
          Decodes texture coordinates.
 

Method Detail

packNormal

void packNormal(IVector3D normalVector,
                double[] packedNormal)
                throws IOException,
                       AutomationException
Encodes a normal into part of a double. A normal and texture information can both be packed in a single double without conflict.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
normalVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
packedNormal - The packedNormal (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unPackNormal

void unPackNormal(double packedNormal,
                  IVector3D normalVector,
                  boolean[] wasProductive)
                  throws IOException,
                         AutomationException
Decodes a normal from a double.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
packedNormal - The packedNormal (in)
normalVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
wasProductive - The wasProductive (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

packTexture2D

void packTexture2D(double textureS,
                   double textureT,
                   double[] packedTexture)
                   throws IOException,
                          AutomationException
Encodes texture coordinates into part of a double. A normal and texture information can both be packed in a single double without conflict.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
textureS - The textureS (in)
textureT - The textureT (in)
packedTexture - The packedTexture (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unPackTexture2D

void unPackTexture2D(double packedTextureST,
                     double[] textureS,
                     double[] textureT,
                     boolean[] wasProductive)
                     throws IOException,
                            AutomationException
Decodes texture coordinates.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
packedTextureST - The packedTextureST (in)
textureS - The textureS (out: use single element array)
textureT - The textureT (out: use single element array)
wasProductive - The wasProductive (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.