Library | File

Class wfcWCurve

# include <wfcGeometry.h>

class wfcWCurve
 : public virtual pfcCurve,
 : public virtual wfcLayerItem,
 : public virtual wfcWModelItem
{
    xaideclare(wfcWCurve)
    ...
};



Description

Interface for WCurve.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes
Direct Known Subclasses:
wfcWPoint, wfcWCompositeCurve, wfcWLine, wfcWArc, wfcWText, wfcWArrow, wfcWCircle, wfcWSpline, wfcWBSpline, wfcWEllipse, wfcWPolygon



Method Summary

pfcStdColorGetColorType ()
Gets the color of the specified curve
optional pfcCurveDescriptor_ptrGetCurveData ()
Retrieves the geometric representation data for the specified curve.
wfcCurveTessellation_ptrGetCurveTessellation (xreal Tolerance)
Retrieves the curve tessellation
pfcStdLineStyleGetLineStyle ()
Gets the linestyle of the specified curve.
voidSetColorType (pfcStdColor ColorType)
Sets the color of the specified curve
voidSetLineStyle (pfcStdLineStyle LineStyle)
Sets the linestyle of the specified curve.


Methods Inherited from Class pfcGeomCurve:

GetIsVisible, GetFeature, Eval3DData, EvalFromLength, EvalParameter, EvalLength, EvalLengthBetween, GetCurveDescriptor, GetNURBSRepresentation


Methods Inherited from Class pfcChild:

GetDBParent, GetOId


Methods Inherited from Class pfcActionSource:

AddActionListener, RemoveActionListener, AddActionListenerWithType


Methods Inherited from Class pfcRelationOwner:

DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression


Methods Inherited from Class pfcParent:

GetChild


Methods Inherited from Class pfcParameterOwner:

GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters


Methods Inherited from Class pfcModelItem:

GetName, SetName, GetId, GetType


Methods Inherited from Class wfcLayerItem:

IsLayerItemVisible, RemoveNoUpdate, GetLayers, AddNoUpdate


Methods Inherited from Class wfcWParameterOwner:

ExportParameterTable, ApplyParameterTableset


Methods Inherited from Class wfcWRelationOwner:

GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits


Methods Inherited from Class wfcWModelItem:

DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName



Method Detail

pfcStdColorGetColorType ()

Gets the color of the specified curve
Manual References:
Geometry Evaluation: Evaluation of Curves and Edges, Geometry Evaluation: Evaluation of Curves and Edges
Returns:
 



voidSetColorType (pfcStdColor ColorType)

Sets the color of the specified curve
Manual References:
Geometry Evaluation: Evaluation of Curves and Edges, Geometry Evaluation: Evaluation of Curves and Edges
Parameters:
ColorType
 
Returns:



pfcStdLineStyleGetLineStyle ()

Gets the linestyle of the specified curve.
Manual References:
Geometry Evaluation: Evaluation of Curves and Edges, Geometry Evaluation: Evaluation of Curves and Edges
Returns:
 



voidSetLineStyle (pfcStdLineStyle LineStyle)

Sets the linestyle of the specified curve.

Exceptions thrown (but not limited to):

<reference 4 to unknown entity pfcExceptions::pfcXInAMethod>


Manual References:
Geometry Evaluation: Evaluation of Curves and Edges
Parameters:
LineStyle
 
Returns:



wfcCurveTessellation_ptrGetCurveTessellation (xreal Tolerance)

Retrieves the curve tessellation
Manual References:
Geometry Evaluation: Curve and Edge Tessellation, Geometry Evaluation: Curve and Edge Tessellation
Parameters:
Tolerance
The maximum distance between the tessellation polyline and the curve.
Returns:
 



optional pfcCurveDescriptor_ptrGetCurveData ()

Retrieves the geometric representation data for the specified curve.

Exceptions thrown (but not limited to):

pfcXToolkitNotImplemented - You passed a composite curve in curve.


Manual References:
Geometry Evaluation: Evaluation of Curves and Edges, Geometry Evaluation: Evaluation of Curves and Edges, Geometry Evaluation: Curve Descriptors
Returns: