Enum ProfileType
- java.lang.Object
-
- java.lang.Enum<ProfileType>
-
- com.solibri.smc.api.model.profile.ProfileType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfileType>
public enum ProfileType extends Enum<ProfileType>
Represents the different types of profile for a component.- Since:
- 9.10.3
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARBITRARY
Arbitrary profile is a cross section defined by an outer boundary as bounded curve, which may also include holes, defined by inner boundaries.COMPOSITE
Composite profile includes two or more profile definitions to define the resulting profile.PARAMETRIC
Parameteric profile is 2D primitive, which is used within the industry to describe cross sections by a description of its parameters.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfileType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARBITRARY
public static final ProfileType ARBITRARY
Arbitrary profile is a cross section defined by an outer boundary as bounded curve, which may also include holes, defined by inner boundaries.- Since:
- 9.10.3
-
PARAMETRIC
public static final ProfileType PARAMETRIC
Parameteric profile is 2D primitive, which is used within the industry to describe cross sections by a description of its parameters.- Since:
- 9.10.3
-
COMPOSITE
public static final ProfileType COMPOSITE
Composite profile includes two or more profile definitions to define the resulting profile.- Since:
- 9.10.3
-
-
Method Detail
-
values
public static ProfileType[] 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 (ProfileType c : ProfileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-