com.partnersoft.formats.shapefile
Enum ShpMultiPatchPartType
java.lang.Object
java.lang.Enum<ShpMultiPatchPartType>
com.partnersoft.formats.shapefile.ShpMultiPatchPartType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ShpMultiPatchPartType>
public enum ShpMultiPatchPartType
- extends java.lang.Enum<ShpMultiPatchPartType>
The different kinds of parts found in a MultiPatch object. MultiPatches
extends the features of PolygonZ objects with different ring possibilities
and triangle meshes.
Copyright 2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TRIANGLE_STRIP
public static final ShpMultiPatchPartType TRIANGLE_STRIP
TRIANGLE_FAN
public static final ShpMultiPatchPartType TRIANGLE_FAN
OUTER_RING
public static final ShpMultiPatchPartType OUTER_RING
INNER_RING
public static final ShpMultiPatchPartType INNER_RING
FIRST_RING
public static final ShpMultiPatchPartType FIRST_RING
PRING
public static final ShpMultiPatchPartType PRING
values
public static ShpMultiPatchPartType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ShpMultiPatchPartType c : ShpMultiPatchPartType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ShpMultiPatchPartType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
valueForName
public static ShpMultiPatchPartType valueForName(java.lang.String name)
valueForCode
public static ShpMultiPatchPartType valueForCode(int code)
getName
public java.lang.String getName()
getCode
public int getCode()