Library | Package Java Toolkit

Class SurfaceType

package com.ptc.pfc.pfcGeometry;

public class SurfaceType
  implements jxenum



Description

This enumerated type describes the different Creo Parametric surface types.



Field Summary
static final int_SURFACE_PLANE
    Integer value of enum value "SURFACE_PLANE"
    A planar surface
static final SurfaceTypeSURFACE_PLANE
    Object value of enum value "SURFACE_PLANE"
    A planar surface
static final int_SURFACE_CYLINDER
    Integer value of enum value "SURFACE_CYLINDER"
    A cylindircal surface
static final SurfaceTypeSURFACE_CYLINDER
    Object value of enum value "SURFACE_CYLINDER"
    A cylindircal surface
static final int_SURFACE_CONE
    Integer value of enum value "SURFACE_CONE"
    A conic surface
static final SurfaceTypeSURFACE_CONE
    Object value of enum value "SURFACE_CONE"
    A conic surface
static final int_SURFACE_TORUS
    Integer value of enum value "SURFACE_TORUS"
    A toroidal surface
static final SurfaceTypeSURFACE_TORUS
    Object value of enum value "SURFACE_TORUS"
    A toroidal surface
static final int_SURFACE_RULED
    Integer value of enum value "SURFACE_RULED"
    A surface created by linearly interpolating between two sets of curves.
static final SurfaceTypeSURFACE_RULED
    Object value of enum value "SURFACE_RULED"
    A surface created by linearly interpolating between two sets of curves.
static final int_SURFACE_REVOLVED
    Integer value of enum value "SURFACE_REVOLVED"
    A surface created by revolving a curve about an axis
static final SurfaceTypeSURFACE_REVOLVED
    Object value of enum value "SURFACE_REVOLVED"
    A surface created by revolving a curve about an axis
static final int_SURFACE_TABULATED_CYLINDER
    Integer value of enum value "SURFACE_TABULATED_CYLINDER"
    A surface created by linearly projecting a curve
static final SurfaceTypeSURFACE_TABULATED_CYLINDER
    Object value of enum value "SURFACE_TABULATED_CYLINDER"
    A surface created by linearly projecting a curve
static final int_SURFACE_FILLET
    Integer value of enum value "SURFACE_FILLET"
    A fillet surface
static final SurfaceTypeSURFACE_FILLET
    Object value of enum value "SURFACE_FILLET"
    A fillet surface
static final int_SURFACE_COONS_PATCH
    Integer value of enum value "SURFACE_COONS_PATCH"
    A Coons path surface
static final SurfaceTypeSURFACE_COONS_PATCH
    Object value of enum value "SURFACE_COONS_PATCH"
    A Coons path surface
static final int_SURFACE_SPLINE
    Integer value of enum value "SURFACE_SPLINE"
    A spline surface
static final SurfaceTypeSURFACE_SPLINE
    Object value of enum value "SURFACE_SPLINE"
    A spline surface
static final int_SURFACE_NURBS
    Integer value of enum value "SURFACE_NURBS"
    A Non-Uniform Rational B-Spline surface
static final SurfaceTypeSURFACE_NURBS
    Object value of enum value "SURFACE_NURBS"
    A Non-Uniform Rational B-Spline surface
static final int_SURFACE_CYLINDRICAL_SPLINE
    Integer value of enum value "SURFACE_CYLINDRICAL_SPLINE"
    A spline surface created using cylindrical coordinates
static final SurfaceTypeSURFACE_CYLINDRICAL_SPLINE
    Object value of enum value "SURFACE_CYLINDRICAL_SPLINE"
    A spline surface created using cylindrical coordinates
static final int_SURFACE_SPHERICAL_SPLINE
    Integer value of enum value "SURFACE_SPHERICAL_SPLINE"
     Reserved for internal use.
static final SurfaceTypeSURFACE_SPHERICAL_SPLINE
    Object value of enum value "SURFACE_SPHERICAL_SPLINE"
     Reserved for internal use.
static final int_SURFACE_FOREIGN
    Integer value of enum value "SURFACE_FOREIGN"
    A foreign surface
static final SurfaceTypeSURFACE_FOREIGN
    Object value of enum value "SURFACE_FOREIGN"
    A foreign surface
static final int_SURFACE_SPL2DER
    Integer value of enum value "SURFACE_SPL2DER"
    A spline surface with 2 derivatives
static final SurfaceTypeSURFACE_SPL2DER
    Object value of enum value "SURFACE_SPL2DER"
    A spline surface with 2 derivatives
static final int_SurfaceType_null
    Enum null value.

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


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


FromInt

static SurfaceTypeFromInt (Integer value)


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