Library | Package Java Toolkit

Class OrientationHint

package com.ptc.pfc.pfcDimension2D;

public class OrientationHint
  implements jxenum



Description

This enumerated type contains the possible types indicating the orientation of the dimension in cases where this cannot be deduced from the attachments themselves.

When such a dimension is created interactively in Creo Parametric, the user is prompted for the extra information.
See Also:
DrawingDimCreateInstructions, Dimension2D.GetOrientationHint()



Field Summary
static final int_ORIENTHINT_NONE
    Integer value of enum value "ORIENTHINT_NONE"
    No orientation information is needed or provided.
static final OrientationHintORIENTHINT_NONE
    Object value of enum value "ORIENTHINT_NONE"
    No orientation information is needed or provided.
static final int_ORIENTHINT_HORIZONTAL
    Integer value of enum value "ORIENTHINT_HORIZONTAL"
    The dimension is horizontal.
static final OrientationHintORIENTHINT_HORIZONTAL
    Object value of enum value "ORIENTHINT_HORIZONTAL"
    The dimension is horizontal.
static final int_ORIENTHINT_VERTICAL
    Integer value of enum value "ORIENTHINT_VERTICAL"
    The dimension is vertical.
static final OrientationHintORIENTHINT_VERTICAL
    Object value of enum value "ORIENTHINT_VERTICAL"
    The dimension is vertical.
static final int_ORIENTHINT_SLANTED
    Integer value of enum value "ORIENTHINT_SLANTED"
    The dimension is slanted.
static final OrientationHintORIENTHINT_SLANTED
    Object value of enum value "ORIENTHINT_SLANTED"
    The dimension is slanted.
static final int_ORIENTHINT_ELLIPSE_RADIUS1
    Integer value of enum value "ORIENTHINT_ELLIPSE_RADIUS1"
    The major diameter of an ellipse.
static final OrientationHintORIENTHINT_ELLIPSE_RADIUS1
    Object value of enum value "ORIENTHINT_ELLIPSE_RADIUS1"
    The major diameter of an ellipse.
static final int_ORIENTHINT_ELLIPSE_RADIUS2
    Integer value of enum value "ORIENTHINT_ELLIPSE_RADIUS2"
    The minor diameter of an ellipse.
static final OrientationHintORIENTHINT_ELLIPSE_RADIUS2
    Object value of enum value "ORIENTHINT_ELLIPSE_RADIUS2"
    The minor diameter of an ellipse.
static final int_ORIENTHINT_ARC_ANGLE
    Integer value of enum value "ORIENTHINT_ARC_ANGLE"
    The angle of an arc.
static final OrientationHintORIENTHINT_ARC_ANGLE
    Object value of enum value "ORIENTHINT_ARC_ANGLE"
    The angle of an arc.
static final int_ORIENTHINT_ARC_LENGTH
    Integer value of enum value "ORIENTHINT_ARC_LENGTH"
    The length of an arc.
static final OrientationHintORIENTHINT_ARC_LENGTH
    Object value of enum value "ORIENTHINT_ARC_LENGTH"
    The length of an arc.
static final int_ORIENTHINT_LINE_TO_TANGENT_CURVE_ANGLE
    Integer value of enum value "ORIENTHINT_LINE_TO_TANGENT_CURVE_ANGLE"
    The angle between a line and the tangent at a curve point.
static final OrientationHintORIENTHINT_LINE_TO_TANGENT_CURVE_ANGLE
    Object value of enum value "ORIENTHINT_LINE_TO_TANGENT_CURVE_ANGLE"
    The angle between a line and the tangent at a curve point.
static final int_OrientationHint_null
    Enum null value.

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


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


FromInt

static OrientationHintFromInt (Integer value)


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