Library | Package Java Toolkit

Class DimensionPointType

package com.ptc.pfc.pfcDimension2D;

public class DimensionPointType
  implements jxenum



Description

This enumerated type contains the types of point references used by a PointDimensionSense object.
See Also:
PointDimensionSense, Dimension2D.GetDimensionSenses(), pfcDimension2D.PointDimensionSense_Create(DimensionPointType)



Field Summary
static final int_DIMPOINT_END1
    Integer value of enum value "DIMPOINT_END1"
    The entity endpoint where t=0.0
static final DimensionPointTypeDIMPOINT_END1
    Object value of enum value "DIMPOINT_END1"
    The entity endpoint where t=0.0
static final int_DIMPOINT_END2
    Integer value of enum value "DIMPOINT_END2"
    The entity endpoint where t=1.0
static final DimensionPointTypeDIMPOINT_END2
    Object value of enum value "DIMPOINT_END2"
    The entity endpoint where t=1.0
static final int_DIMPOINT_CENTER
    Integer value of enum value "DIMPOINT_CENTER"
    The entity center point (arc or circle entities).
static final DimensionPointTypeDIMPOINT_CENTER
    Object value of enum value "DIMPOINT_CENTER"
    The entity center point (arc or circle entities).
static final int_DIMPOINT_NONE
    Integer value of enum value "DIMPOINT_NONE"
    No infomation was provided about the attachment point for this entity.
static final DimensionPointTypeDIMPOINT_NONE
    Object value of enum value "DIMPOINT_NONE"
    No infomation was provided about the attachment point for this entity.
static final int_DIMPOINT_MIDPOINT
    Integer value of enum value "DIMPOINT_MIDPOINT"
    The entity midpoint where t=0.5
static final DimensionPointTypeDIMPOINT_MIDPOINT
    Object value of enum value "DIMPOINT_MIDPOINT"
    The entity midpoint where t=0.5
static final int_DimensionPointType_null
    Enum null value.

Method Summary
static DimensionPointTypeFromInt (int value)
    Creates enum object from an integer.
static DimensionPointTypeFromInt (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 DimensionPointTypeFromInt (int value)


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


FromInt

static DimensionPointTypeFromInt (Integer value)


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