Library | Package Java Toolkit

Class DimensionSenseType

package com.ptc.pfc.pfcDimension2D;

public class DimensionSenseType
  implements jxenum



Description

This enumerated type contains the options used for dimensions to attach to entities in a drawing.

The dimension sense gives more information about how the dimension attaches to the entity, for example, to what part of the entity, and in what direction the dimension runs.
See Also:
EmptyDimensionSense, PointDimensionSense, SplinePointDimensionSense, TangentIndexDimensionSense, LinAOCTangentDimensionSense, AngleDimensionSense, PointToAngleDimensionSense, Dimension2D.GetDimensionSenses(), pfcDimension2D.EmptyDimensionSense_Create(), pfcDimension2D.PointDimensionSense_Create(DimensionPointType), pfcDimension2D.SplinePointDimensionSense_Create(int), pfcDimension2D.TangentIndexDimensionSense_Create(int), pfcDimension2D.LinAOCTangentDimensionSense_Create(DimensionLinAOCTangentType), pfcDimension2D.AngleDimensionSense_Create(/*optional*/ DimensionAngleOptions), pfcDimension2D.PointToAngleDimensionSense_Create(DimensionPointType, /*optional*/ DimensionAngleOptions)



Field Summary
static final int_DIMSENSE_NONE
    Integer value of enum value "DIMSENSE_NONE"
    No special dimension information is provided.
static final DimensionSenseTypeDIMSENSE_NONE
    Object value of enum value "DIMSENSE_NONE"
    No special dimension information is provided.
static final int_DIMSENSE_POINT
    Integer value of enum value "DIMSENSE_POINT"
    The dimension is attached to a point.
static final DimensionSenseTypeDIMSENSE_POINT
    Object value of enum value "DIMSENSE_POINT"
    The dimension is attached to a point.
static final int_DIMSENSE_SPLINE_PT
    Integer value of enum value "DIMSENSE_SPLINE_PT"
    The dimension is attached to a spline point.
static final DimensionSenseTypeDIMSENSE_SPLINE_PT
    Object value of enum value "DIMSENSE_SPLINE_PT"
    The dimension is attached to a spline point.
static final int_DIMSENSE_TANGENT_INDEX
    Integer value of enum value "DIMSENSE_TANGENT_INDEX"
    The dimension attaches to a tangent of the entity, which is an arc or circle.
static final DimensionSenseTypeDIMSENSE_TANGENT_INDEX
    Object value of enum value "DIMSENSE_TANGENT_INDEX"
    The dimension attaches to a tangent of the entity, which is an arc or circle.
static final int_DIMSENSE_LINEAR_TO_ARC_OR_CIRCLE_TANGENT
    Integer value of enum value "DIMSENSE_LINEAR_TO_ARC_OR_CIRCLE_TANGENT"
    The dimension is the perpendicular distance between a line and a tangent to an arc or a circle which is parallel to the line.
static final DimensionSenseTypeDIMSENSE_LINEAR_TO_ARC_OR_CIRCLE_TANGENT
    Object value of enum value "DIMSENSE_LINEAR_TO_ARC_OR_CIRCLE_TANGENT"
    The dimension is the perpendicular distance between a line and a tangent to an arc or a circle which is parallel to the line.
static final int_DIMSENSE_ANGLE
    Integer value of enum value "DIMSENSE_ANGLE"
    The dimension is the angle between two straight entities.
static final DimensionSenseTypeDIMSENSE_ANGLE
    Object value of enum value "DIMSENSE_ANGLE"
    The dimension is the angle between two straight entities.
static final int_DIMSENSE_POINT_TO_ANGLE
    Integer value of enum value "DIMSENSE_POINT_TO_ANGLE"
    The dimension is the angle between a line entity and the tangent to a curved entity at one of its ends.
static final DimensionSenseTypeDIMSENSE_POINT_TO_ANGLE
    Object value of enum value "DIMSENSE_POINT_TO_ANGLE"
    The dimension is the angle between a line entity and the tangent to a curved entity at one of its ends.
static final int_DimensionSenseType_null
    Enum null value.

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


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


FromInt

static DimensionSenseTypeFromInt (Integer value)


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