com.esri.arcgis.analyst3d
Class GeneralMultiPatchCreator

java.lang.Object
  extended by com.esri.arcgis.analyst3d.GeneralMultiPatchCreator
All Implemented Interfaces:
IGeneralMultiPatchCreator, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GeneralMultiPatchCreator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeneralMultiPatchCreator

COM Class 'GeneralMultiPatchCreator'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'

Description 'The General MultiPatch Creator component.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.analyst3d.IGeneralMultiPatchCreator
IID, IID821003c1_2c6b_11d6_a4ce_444553547777, xxDummy
 
Constructor Summary
GeneralMultiPatchCreator()
          Constructs a GeneralMultiPatchCreator using ArcGIS Engine.
GeneralMultiPatchCreator(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeneralMultiPatchCreator theGeneralMultiPatchCreator = (GeneralMultiPatchCreator) obj;
 
Method Summary
 void clearResources()
          Clear resources used to manage the object.
 IGeometry createMultiPatch()
          Creates the MultiPatch.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void init(int pointCount, int partCount, boolean hasMs, boolean hasIDs, boolean hasNormals, int texturePointCount, IGeometryMaterialList pGeometryMaterialList)
          Initialize the creation of a general multipatch.
 void release()
          Release a GeneralMultiPatchCreator.
 void setID(int index, int iD)
          Set vertex Id.
 void setM(int index, double mValue)
          Set M at vertex index.
 void setMaterialIndex(int patch, int index)
          Set patch material index.
 void setNormal(int index, IVector3D pVector)
          Set Normal at vertex index.
 void setPatchPointIndex(int patch, int index)
          Set start index of points in patch, end index is start of next patch.
 void setPatchPriority(int patch, int priority)
          Set patch priority (>= 0).
 void setPatchTexturePointIndex(int part, int index)
          Set texture start index texture points in patch, end index is start of next patch.
 void setPatchType(int patch, int type)
          Set patch type.
 void setPoint(int index, IPoint pPoint)
          Set Point at vertex index.
 void setTexturePoint(int index, IPoint pPoint)
          Set Texture Point at vertex index.
 void setTextureWKSPoint(int index, _WKSPoint pPoint)
          Set Texture WKSPoint at vertex index.
 void setWKSPointZ(int index, _WKSPointZ pPoint)
          Set WKSPoint at vertex index.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralMultiPatchCreator

public GeneralMultiPatchCreator()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a GeneralMultiPatchCreator using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeneralMultiPatchCreator

public GeneralMultiPatchCreator(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeneralMultiPatchCreator theGeneralMultiPatchCreator = (GeneralMultiPatchCreator) obj;

Construct a GeneralMultiPatchCreator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeneralMultiPatchCreator.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeneralMultiPatchCreator.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

init

public void init(int pointCount,
                 int partCount,
                 boolean hasMs,
                 boolean hasIDs,
                 boolean hasNormals,
                 int texturePointCount,
                 IGeometryMaterialList pGeometryMaterialList)
          throws java.io.IOException,
                 AutomationException
Initialize the creation of a general multipatch.

Specified by:
init in interface IGeneralMultiPatchCreator
Parameters:
pointCount - The pointCount (in)
partCount - The partCount (in)
hasMs - The hasMs (in)
hasIDs - The hasIDs (in)
hasNormals - The hasNormals (in)
texturePointCount - The texturePointCount (in)
pGeometryMaterialList - A reference to a com.esri.arcgis.analyst3d.IGeometryMaterialList (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPatchPointIndex

public void setPatchPointIndex(int patch,
                               int index)
                        throws java.io.IOException,
                               AutomationException
Set start index of points in patch, end index is start of next patch.

Specified by:
setPatchPointIndex in interface IGeneralMultiPatchCreator
Parameters:
patch - The patch (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPatchType

public void setPatchType(int patch,
                         int type)
                  throws java.io.IOException,
                         AutomationException
Set patch type.

Specified by:
setPatchType in interface IGeneralMultiPatchCreator
Parameters:
patch - The patch (in)
type - A com.esri.arcgis.geometry.esriPatchType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPatchPriority

public void setPatchPriority(int patch,
                             int priority)
                      throws java.io.IOException,
                             AutomationException
Set patch priority (>= 0).

Specified by:
setPatchPriority in interface IGeneralMultiPatchCreator
Parameters:
patch - The patch (in)
priority - The priority (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaterialIndex

public void setMaterialIndex(int patch,
                             int index)
                      throws java.io.IOException,
                             AutomationException
Set patch material index.

Specified by:
setMaterialIndex in interface IGeneralMultiPatchCreator
Parameters:
patch - The patch (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPoint

public void setPoint(int index,
                     IPoint pPoint)
              throws java.io.IOException,
                     AutomationException
Set Point at vertex index.

Specified by:
setPoint in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWKSPointZ

public void setWKSPointZ(int index,
                         _WKSPointZ pPoint)
                  throws java.io.IOException,
                         AutomationException
Set WKSPoint at vertex index.

Specified by:
setWKSPointZ in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
pPoint - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setM

public void setM(int index,
                 double mValue)
          throws java.io.IOException,
                 AutomationException
Set M at vertex index.

Specified by:
setM in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
mValue - The mValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNormal

public void setNormal(int index,
                      IVector3D pVector)
               throws java.io.IOException,
                      AutomationException
Set Normal at vertex index.

Specified by:
setNormal in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
pVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPatchTexturePointIndex

public void setPatchTexturePointIndex(int part,
                                      int index)
                               throws java.io.IOException,
                                      AutomationException
Set texture start index texture points in patch, end index is start of next patch.

Specified by:
setPatchTexturePointIndex in interface IGeneralMultiPatchCreator
Parameters:
part - The part (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTexturePoint

public void setTexturePoint(int index,
                            IPoint pPoint)
                     throws java.io.IOException,
                            AutomationException
Set Texture Point at vertex index.

Specified by:
setTexturePoint in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureWKSPoint

public void setTextureWKSPoint(int index,
                               _WKSPoint pPoint)
                        throws java.io.IOException,
                               AutomationException
Set Texture WKSPoint at vertex index.

Specified by:
setTextureWKSPoint in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
pPoint - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setID

public void setID(int index,
                  int iD)
           throws java.io.IOException,
                  AutomationException
Set vertex Id.

Specified by:
setID in interface IGeneralMultiPatchCreator
Parameters:
index - The index (in)
iD - The iD (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearResources

public void clearResources()
                    throws java.io.IOException,
                           AutomationException
Clear resources used to manage the object.

Specified by:
clearResources in interface IGeneralMultiPatchCreator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createMultiPatch

public IGeometry createMultiPatch()
                           throws java.io.IOException,
                                  AutomationException
Creates the MultiPatch.

Specified by:
createMultiPatch in interface IGeneralMultiPatchCreator
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.