Library | Package Java Toolkit

Class CurveType

package com.ptc.pfc.pfcGeometry;

public class CurveType
  implements jxenum



Description

This enumerated type represents the curve type.



Field Summary
static final int_CURVE_COMPOSITE
    Integer value of enum value "CURVE_COMPOSITE"
    A composite curve made up of more than one curve entity
static final CurveTypeCURVE_COMPOSITE
    Object value of enum value "CURVE_COMPOSITE"
    A composite curve made up of more than one curve entity
static final int_CURVE_POINT
    Integer value of enum value "CURVE_POINT"
    A point
static final CurveTypeCURVE_POINT
    Object value of enum value "CURVE_POINT"
    A point
static final int_CURVE_LINE
    Integer value of enum value "CURVE_LINE"
    A line
static final CurveTypeCURVE_LINE
    Object value of enum value "CURVE_LINE"
    A line
static final int_CURVE_ARROW
    Integer value of enum value "CURVE_ARROW"
    An arrow
static final CurveTypeCURVE_ARROW
    Object value of enum value "CURVE_ARROW"
    An arrow
static final int_CURVE_ARC
    Integer value of enum value "CURVE_ARC"
    An arc
static final CurveTypeCURVE_ARC
    Object value of enum value "CURVE_ARC"
    An arc
static final int_CURVE_SPLINE
    Integer value of enum value "CURVE_SPLINE"
    A spline curve
static final CurveTypeCURVE_SPLINE
    Object value of enum value "CURVE_SPLINE"
    A spline curve
static final int_CURVE_BSPLINE
    Integer value of enum value "CURVE_BSPLINE"
    A Non-Uniform Rational B-Spline
static final CurveTypeCURVE_BSPLINE
    Object value of enum value "CURVE_BSPLINE"
    A Non-Uniform Rational B-Spline
static final int_CURVE_CIRCLE
    Integer value of enum value "CURVE_CIRCLE"
    A circle
static final CurveTypeCURVE_CIRCLE
    Object value of enum value "CURVE_CIRCLE"
    A circle
static final int_CURVE_ELLIPSE
    Integer value of enum value "CURVE_ELLIPSE"
    An elliptical curve
static final CurveTypeCURVE_ELLIPSE
    Object value of enum value "CURVE_ELLIPSE"
    An elliptical curve
static final int_CURVE_POLYGON
    Integer value of enum value "CURVE_POLYGON"
    A polygon
static final CurveTypeCURVE_POLYGON
    Object value of enum value "CURVE_POLYGON"
    A polygon
static final int_CURVE_TEXT
    Integer value of enum value "CURVE_TEXT"
    A text entity
static final CurveTypeCURVE_TEXT
    Object value of enum value "CURVE_TEXT"
    A text entity
static final int_CurveType_null
    Enum null value.

Method Summary
static CurveTypeFromInt (int value)
    Creates enum object from an integer.
static CurveTypeFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static CurveTypeFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static CurveTypeFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.