Library | Package Java Toolkit

Class pfcGeometry

package com.ptc.pfc.pfcGeometry;

public class pfcGeometry



Description

Contains global CIP definitions for module "pfcGeometry"



Method Summary
static ArcDescriptorArcDescriptor_Create (Vector3D Vector1, Vector3D Vector2, Point3D Center, double StartAngle, double EndAngle, double Radius)
    This method creates a new ArcDescriptor object.
static ArrowDescriptorArrowDescriptor_Create (Point3D End1, Point3D End2)
    This method creates a new ArrowDescriptor object.
static BSplineDescriptorBSplineDescriptor_Create (int Degree, BSplinePoints Points, realseq Knots)
    This method creates a new BSplineDescriptor object.
static BSplinePointBSplinePoint_Create (Point3D Point, /*optional*/ Double Weight)
    This method creates a new BSpline point object.
static CircleDescriptorCircleDescriptor_Create (Point3D Center, double Radius, Vector3D UnitNormal)
    This method creates a new CircleDescriptor object.
static CompositeCurveDescriptorCompositeCurveDescriptor_Create (CurveDescriptors Elements)
    This method creates a new CompositeCurveDescriptor object.
static ConeDescriptorConeDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Alpha)
    This method creates a new ConeDescriptor object.
static CoonsPatchDescriptorCoonsPatchDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, CurveDescriptor U0Profile, CurveDescriptor U1Profile, CurveDescriptor V0Profile, CurveDescriptor V1Profile, CoonsCornerPoints CornerPoints, CoonsUVDerivatives UVDerivatives)
    This method returns a new CoonsPatchDescriptor object.
static CylinderDescriptorCylinderDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Radius)
    This method creates a new CylinderDescriptor object.
static CylindricalSplineSurfaceDescriptorCylindricalSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, SplineSurfaceDescriptor SplineSurfaceData)
    This method creates a new CylindricalSplineSurfaceDescriptor object.
static EllipseDescriptorEllipseDescriptor_Create (Point3D Center, Vector3D UnitMajorAxis, Vector3D UnitNormal, double MajorLength, double MinorLength, double StartAngle, double EndAngle)
    This method returns a new EllipseDescriptor object.
static FilletSurfaceDescriptorFilletSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, SplineDescriptor U0Profile, SplineDescriptor CenterProfile, SplineDescriptor TangentProfile)
    This method creates a new FilletSurfaceDescriptor object.
static ForeignSurfaceDescriptorForeignSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, int ForeignID)
    This method creates a new ForeignSurfaceDescriptor object.
static LineDescriptorLineDescriptor_Create (Point3D End1, Point3D End2)
    This method creates a new LineDescriptor object.
static NURBSSurfaceDescriptorNURBSSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, int UDegree, int VDegree, realseq UKnots, realseq VKnots, BSplinePoints Points)
    This method creates a new NURBSSurfaceDescriptor object.
static PlaneDescriptorPlaneDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin)
    Method to create a set of information describing a planar surface.
static PointDescriptorPointDescriptor_Create (Point3D Point)
    This method creates a new PointDescriptor object.
static PolygonDescriptorPolygonDescriptor_Create (Point3Ds Vertices)
    This method creates a new PolygonDescriptor object.
static RevolvedSurfaceDescriptorRevolvedSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile)
    This method creates a new RevolvedSurfaceDescriptor object.
static RuledSurfaceDescriptorRuledSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile1, CurveDescriptor Profile2)
    This method creates a new RuledSurfaceDescriptor object.
static SphericalSplineSurfaceDescriptorSphericalSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, SplineSurfaceDescriptor SplineSurfaceData)
    This method creates a new SphericalSplineSurfaceDescriptor object.
static SplineDescriptorSplineDescriptor_Create (SplinePoints Points)
    This method creates a new SplineDescriptor object.
static SplinePointSplinePoint_Create (double Parameter, Point3D Point, Vector3D Tangent)
    This method creates a new spline point object.
static SplineSurfaceDescriptorSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, SplineSurfacePoints Points)
    This method creates a new SplineSurfaceDescriptor object.
static SplineSurfacePointSplineSurfacePoint_Create (UVParams Parameter, Point3D Point, Vector3D UTangent, Vector3D VTangent, Vector3D UVDerivative)
    This method creates a new SplineSurfacePoint object.
static SurfaceExtentsSurfaceExtents_Create (UVOutline UVExtents)
    This method creates a new SurfaceExtents object.
static TabulatedCylinderDescriptorTabulatedCylinderDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile)
    This method creates a new TabulatedCylinderDescriptor object.
static TextDescriptorTextDescriptor_Create (String TextString, Point3D Point, TextStyle Style)
    This method creates a new TextDescriptor object.
static TorusDescriptorTorusDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Radius1, double Radius2)
    This method creates a new TorusDescriptor object.

Method Detail

SplineSurfacePoint_Create

static SplineSurfacePointSplineSurfacePoint_Create (UVParams Parameter, Point3D Point, Vector3D UTangent, Vector3D VTangent, Vector3D UVDerivative)


    This method creates a new SplineSurfacePoint object.
Parameters:
Parameter
The UV parameters of the point on the surface.
Point
The XYZ point
UTangent
The tangent vector in the U direction at the point
VTangent
The tangent vector in the V direction at the point
UVDerivative
The mixed derivative at the point
Returns:
The new SplineSurfacePoint object


BSplinePoint_Create

static BSplinePointBSplinePoint_Create (Point3D Point, /*optional*/ Double Weight)


    This method creates a new BSpline point object.
Parameters:
Point
The point coordinates
Weight
The weight
Returns:
The new BSplinePoint object


SurfaceExtents_Create

static SurfaceExtentsSurfaceExtents_Create (UVOutline UVExtents)


    This method creates a new SurfaceExtents object.
Parameters:
UVExtents
The UV parameters at the corners of the surface.
Returns:
The new SurfaceExtents object.


PlaneDescriptor_Create

static PlaneDescriptorPlaneDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin)


    Method to create a set of information describing a planar surface.
Parameters:
Extents
 
Orientation
 
Origin
 
Returns:
 


CylinderDescriptor_Create

static CylinderDescriptorCylinderDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Radius)


    This method creates a new CylinderDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Radius
The surface radius
Returns:
The new CylinderDescriptor object


ConeDescriptor_Create

static ConeDescriptorConeDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Alpha)


    This method creates a new ConeDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Alpha
The cone angle
Returns:
The new ConeDescriptor object


TorusDescriptor_Create

static TorusDescriptorTorusDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, double Radius1, double Radius2)


    This method creates a new TorusDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Radius1
The distance from the center of the generating arc to the axis of revolution
Radius2
The radius of the generating arc
Returns:
The new TorusDescriptor object


RevolvedSurfaceDescriptor_Create

static RevolvedSurfaceDescriptorRevolvedSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile)


    This method creates a new RevolvedSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Profile
The geometry of the generating curve
Returns:
The new RevolvedSurfaceDescriptor object


RuledSurfaceDescriptor_Create

static RuledSurfaceDescriptorRuledSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile1, CurveDescriptor Profile2)


    This method creates a new RuledSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Profile1
The geometry of the first generating curve
Profile2
The geometry of the second generating curve
Returns:
The new RuledSurfaceDescriptor object


TabulatedCylinderDescriptor_Create

static TabulatedCylinderDescriptorTabulatedCylinderDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, CurveDescriptor Profile)


    This method creates a new TabulatedCylinderDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Profile
The geometry of the curve that is projected
Returns:
 


CoonsPatchDescriptor_Create

static CoonsPatchDescriptorCoonsPatchDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, CurveDescriptor U0Profile, CurveDescriptor U1Profile, CurveDescriptor V0Profile, CurveDescriptor V1Profile, CoonsCornerPoints CornerPoints, CoonsUVDerivatives UVDerivatives)


    This method returns a new CoonsPatchDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
U0Profile
The geometry at the U=0 boundary
U1Profile
The geometry at the U=1 boundary
V0Profile
The geometry at the V=0 boundary
V1Profile
The geometry at the V=1 boundary
CornerPoints
The Coons path corner points
UVDerivatives
The corner UV derivatives
Returns:
The new CoonsPatchDescriptor object


FilletSurfaceDescriptor_Create

static FilletSurfaceDescriptorFilletSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, SplineDescriptor U0Profile, SplineDescriptor CenterProfile, SplineDescriptor TangentProfile)


    This method creates a new FilletSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
U0Profile
The geoemtry of along the u=0 boundary
CenterProfile
The geometry along the centers of the fillet arcs
TangentProfile
The geometry of the unit tangents to the axis of the fillet arcs
Returns:
The new FilletSurfaceDescriptor object


SplineSurfaceDescriptor_Create

static SplineSurfaceDescriptorSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, SplineSurfacePoints Points)


    This method creates a new SplineSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Points
An array of spline interpolant points and derivatives
Returns:
The new SplineSurfaceDescriptor object


NURBSSurfaceDescriptor_Create

static NURBSSurfaceDescriptorNURBSSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, int UDegree, int VDegree, realseq UKnots, realseq VKnots, BSplinePoints Points)


    This method creates a new NURBSSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
UDegree
The degree of the U basis function
VDegree
The degree of the V basis function
UKnots
The knots on the parameter line U
VKnots
The knots on the parameter line V
Points
The control point array
Returns:
The new NURBSSurfaceDescriptor object


CylindricalSplineSurfaceDescriptor_Create

static CylindricalSplineSurfaceDescriptorCylindricalSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, SplineSurfaceDescriptor SplineSurfaceData)


    This method creates a new CylindricalSplineSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
SplineSurfaceData
The spline surface geometry to use
Returns:
The new CylindricalSplineSurfaceDescriptor object


SphericalSplineSurfaceDescriptor_Create

static SphericalSplineSurfaceDescriptorSphericalSplineSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, SplineSurfaceDescriptor SplineSurfaceData)


    This method creates a new SphericalSplineSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
SplineSurfaceData
The spline surface geometry
Returns:
The new SphericalSplineSurfaceDescriptor object


ForeignSurfaceDescriptor_Create

static ForeignSurfaceDescriptorForeignSurfaceDescriptor_Create (SurfaceExtents Extents, SurfaceOrientation Orientation, Transform3D Origin, int ForeignID)


    This method creates a new ForeignSurfaceDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
ForeignID
The foreign surface id
Returns:
The new ForeignSurfaceDescriptor object


SplinePoint_Create

static SplinePointSplinePoint_Create (double Parameter, Point3D Point, Vector3D Tangent)


    This method creates a new spline point object.
Parameters:
Parameter
The spline parameter at the point.
Point
The splie point.
Tangent
The tangent vector at the point.
Returns:
The new SplinePoint object.


CompositeCurveDescriptor_Create

static CompositeCurveDescriptorCompositeCurveDescriptor_Create (CurveDescriptors Elements)


    This method creates a new CompositeCurveDescriptor object.
Parameters:
Elements
The geometry of the curves making up the composite curve
Returns:
The new CompositeCurveDescriptor object.


PointDescriptor_Create

static PointDescriptorPointDescriptor_Create (Point3D Point)


    This method creates a new PointDescriptor object.
Parameters:
Point
The point
Returns:
The new PointDescriptor object.


LineDescriptor_Create

static LineDescriptorLineDescriptor_Create (Point3D End1, Point3D End2)


    This method creates a new LineDescriptor object.
Parameters:
End1
The first endpoint
End2
The second endpoint
Returns:
The new LineDescriptor object


ArrowDescriptor_Create

static ArrowDescriptorArrowDescriptor_Create (Point3D End1, Point3D End2)


    This method creates a new ArrowDescriptor object.
See Also:
DetailEntityInstructions
Parameters:
End1
The first endpoint
End2
The second endpoint
Returns:
The new ArrowDescriptor object


ArcDescriptor_Create

static ArcDescriptorArcDescriptor_Create (Vector3D Vector1, Vector3D Vector2, Point3D Center, double StartAngle, double EndAngle, double Radius)


    This method creates a new ArcDescriptor object.
See Also:
DetailEntityInstructions
Parameters:
Vector1
The first vector that defines the plane of the arc
Vector2
The second vector that defines the plane of the arc
Center
The arc center
StartAngle
The start angle
EndAngle
The arc end angle
Radius
The radius
Returns:
The new ArcDescriptor object


SplineDescriptor_Create

static SplineDescriptorSplineDescriptor_Create (SplinePoints Points)


    This method creates a new SplineDescriptor object.
Parameters:
Points
The array of spline points
Returns:
The new SplineDescriptor


BSplineDescriptor_Create

static BSplineDescriptorBSplineDescriptor_Create (int Degree, BSplinePoints Points, realseq Knots)


    This method creates a new BSplineDescriptor object.
Parameters:
Degree
The B-Spline degree
Points
The array of control points
Knots
The array of knots
Returns:
The new BSplineDescriptor object


CircleDescriptor_Create

static CircleDescriptorCircleDescriptor_Create (Point3D Center, double Radius, Vector3D UnitNormal)


    This method creates a new CircleDescriptor object.
Parameters:
Center
The circle center
Radius
The circle radius
UnitNormal
The normal vector to the circle
Returns:
The new CircleDescriptor object


EllipseDescriptor_Create

static EllipseDescriptorEllipseDescriptor_Create (Point3D Center, Vector3D UnitMajorAxis, Vector3D UnitNormal, double MajorLength, double MinorLength, double StartAngle, double EndAngle)


    This method returns a new EllipseDescriptor object.
Parameters:
Center
The ellipse center
UnitMajorAxis
The unit major axis
UnitNormal
The unit normal
MajorLength
The axis major length
MinorLength
The axis minor length
StartAngle
The start angle
EndAngle
The end angle
Returns:
The new EllipseDescriptor object


PolygonDescriptor_Create

static PolygonDescriptorPolygonDescriptor_Create (Point3Ds Vertices)


    This method creates a new PolygonDescriptor object.
Parameters:
Vertices
The polygon vertices
Returns:
The new PolygonDescriptor object


TextDescriptor_Create

static TextDescriptorTextDescriptor_Create (String TextString, Point3D Point, TextStyle Style)


    This method creates a new TextDescriptor object.
Parameters:
TextString
The text string
Point
The location of the text
Style
The text style
Returns:
The new TextDescriptor object