All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSOInterfaces Interface CATIGSOWrapCurve

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIGSOWrapCurve
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIGSOWrapCurve

Interface to wrap curve feature.
Role:Allows to access data of the wrap curve

See also:
CATIGSOFactory.CreateWrapCurve
See also:
CATGSOWrapCurveSurfaceCst
See also:
CATGSOWrapCurveRefSpineType
See also:
CATGSOWrapCurveRefDirType


Method Index


o GetCurves(CATLISTV(CATISpecObject_var)&,CATLISTV(CATISpecObject_var)&)
Gets the list of reference curves and target curves.
o GetFirstCurvesConstraint(CATGSOWrapCurveSurfaceCst&)
Gets the surface constraint at first curves to the wrap curve feature.
o GetLastCurvesConstraint(CATGSOWrapCurveSurfaceCst&)
Gets the surface constraint at last curves to the wrap curve feature.
o GetReferenceDirection(CATGSOWrapCurveRefDirType&,CATIGSMDirection_var&)
Gets the reference direction from the wrap curve feature.
o GetReferenceSpine(CATGSOWrapCurveRefSpineType&,CATISpecObject_var&)
Gets the reference spine to the wrap curve feature.
o GetSurface(CATISpecObject_var&)
Gets the surface to deform to the wrap curve feature.
o GetTargetSpine(CATGSOWrapCurveTargSpineType&,CATISpecObject_var&)
Gets the target spine to the wrap curve feature.
o InsertCurves(int,CATISpecObject_var,CATISpecObject_var)
Inserts a couple of reference curve and target curve to the wrap curve feature.
o RemoveCurves(int)
Removes a couple of reference curve and target curve from the feature.
o SetFirstCurvesConstraint(CATGSOWrapCurveSurfaceCst)
Sets a surface constraint at first curves to the wrap curve feature.
o SetLastCurvesConstraint(CATGSOWrapCurveSurfaceCst)
Sets a surface constraint at last curves to the wrap curve feature.
o SetReferenceCurve(int,CATISpecObject_var)
Sets a reference curve to the wrap curve feature.
o SetReferenceDirection(CATGSOWrapCurveRefDirType,CATIGSMDirection_var)
Sets the reference direction to the wrap curve feature.
o SetReferenceSpine(CATGSOWrapCurveRefSpineType,CATISpecObject_var)
Sets the reference spine to the wrap curve feature.
o SetSurface(CATISpecObject_var)
Sets the surface to deform to the wrap curve feature.
o SetTargetCurve(int,CATISpecObject_var)
Sets a target curve to the wrap curve feature.
o SetTargetSpine(CATGSOWrapCurveTargSpineType,CATISpecObject_var)
Sets the target spine to the wrap curve feature.

Methods


o GetCurves
public virtual HRESULT GetCurves(CATLISTV(CATISpecObject_var)& oReferenceCurves,
CATLISTV(CATISpecObject_var)& oTargetCurves)= 0
Gets the list of reference curves and target curves.
Parameters:
oReferenceCurves
The list of reference curves.
oTargetCurves
The list of target curves. The first curve in oTargetCurves is the target curve of the first curve in oReferenceCurves, The second curve in oTargetCurves is the target curve of the second curve in oReferenceCurves...
o GetFirstCurvesConstraint
public virtual HRESULT GetFirstCurvesConstraint(CATGSOWrapCurveSurfaceCst& oSurfaceCst)= 0
Gets the surface constraint at first curves to the wrap curve feature.
Parameters:
oSurfaceCst
The constraint to first curves
See also:
CATGSOWrapCurveSurfaceCst
o GetLastCurvesConstraint
public virtual HRESULT GetLastCurvesConstraint(CATGSOWrapCurveSurfaceCst& oSurfaceCst)= 0
Gets the surface constraint at last curves to the wrap curve feature.
Parameters:
oSurfaceCst
The constraint to last curves
See also:
CATGSOWrapCurveSurfaceCst
o GetReferenceDirection
public virtual HRESULT GetReferenceDirection(CATGSOWrapCurveRefDirType& oDirectionType,
CATIGSMDirection_var& oDirection)= 0
Gets the reference direction from the wrap curve feature.
Parameters:
oDirectionType
type of direction.
oDirection
Reference direction , if oDirectionType = CATGSOWrapCurveUserRefDir
See also:
CATGSOWrapCurveRefDirType
o GetReferenceSpine
public virtual HRESULT GetReferenceSpine(CATGSOWrapCurveRefSpineType& oSpineType,
CATISpecObject_var& oSpine)= 0
Gets the reference spine to the wrap curve feature.
Parameters:
oSpineType
type of spine.
oSpine
curve read as a spine, if oSpineType = CATGSOWrapCurveUserRefSpine
See also:
CATGSOWrapCurveRefSpineType
o GetSurface
public virtual HRESULT GetSurface(CATISpecObject_var& oSurfaceToDeform)= 0
Gets the surface to deform to the wrap curve feature.
Parameters:
oSurfaceToDeform
The surface to deform.
o GetTargetSpine
public virtual HRESULT GetTargetSpine(CATGSOWrapCurveTargSpineType& oSpineType,
CATISpecObject_var& oSpine)= 0
Gets the target spine to the wrap curve feature.
Parameters:
oSpineType
type of spine.
oSpine
curve read as a spine, if oSpineType = CATGSOWrapCurveUserTargSpine
See also:
CATGSOWrapCurveTargSpineType
o InsertCurves
public virtual HRESULT InsertCurves( const int iPosition,
const CATISpecObject_var iReferenceCurve,
const CATISpecObject_var iTargetCurve=NULL_var )= 0
Inserts a couple of reference curve and target curve to the wrap curve feature.
Parameters:
iPosition
The position of the curves in the list of curves. Insert at the end of the list if equal 0.
iReferenceCurve
the reference curve.
iTargetCurve
the target curve.
iTargetCurve can be egal to NULL_var. In this case, the associated ref curve will be fixed or the target curve must be set with SetReferenceCurve.
o RemoveCurves
public virtual HRESULT RemoveCurves( const int iPosition)= 0
Removes a couple of reference curve and target curve from the feature.
Parameters:
iPosition
The position of the curves in the list of curves.
o SetFirstCurvesConstraint
public virtual HRESULT SetFirstCurvesConstraint( const CATGSOWrapCurveSurfaceCst iSurfaceCst= CATGSOWrapCurveSameCurvature )= 0
Sets a surface constraint at first curves to the wrap curve feature.
Parameters:
iSurfaceCst
The constraint to first curves
See also:
CATGSOWrapCurveSurfaceCst
o SetLastCurvesConstraint
public virtual HRESULT SetLastCurvesConstraint( const CATGSOWrapCurveSurfaceCst iSurfaceCst= CATGSOWrapCurveSameCurvature )= 0
Sets a surface constraint at last curves to the wrap curve feature.
Parameters:
iSurfaceCst
The constraint to last curves
See also:
CATGSOWrapCurveSurfaceCst
o SetReferenceCurve
public virtual HRESULT SetReferenceCurve( const int iPosition,
const CATISpecObject_var iReferenceCurve)= 0
Sets a reference curve to the wrap curve feature.
Parameters:
iPosition
The position of the curves in the list of curves.
iReferenceCurve
the reference curve.
o SetReferenceDirection
public virtual HRESULT SetReferenceDirection( const CATGSOWrapCurveRefDirType iDirectionType= CATGSOWrapCurveRefDirComputed ,
const CATIGSMDirection_var iDirection= NULL_var )= 0
Sets the reference direction to the wrap curve feature.
Parameters:
iDirectionType
type of direction.
iDirection
Direction to be added, if iDirectionType = CATGSOWrapCurveUserRefDir and if reference spine is a line.
See also:
CATGSOWrapCurveRefDirType
o SetReferenceSpine
public virtual HRESULT SetReferenceSpine( const CATGSOWrapCurveRefSpineType iSpineType= CATGSOWrapCurveRefSpineFirstRefCurve ,
const CATISpecObject_var iSpine= NULL_var )= 0
Sets the reference spine to the wrap curve feature.
Parameters:
iSpineType
type of spine.
iSpine
curve to be added as a spine, if iSpineType = CATGSOWrapCurveUserRefSpine
See also:
CATGSOWrapCurveRefSpineType
o SetSurface
public virtual HRESULT SetSurface( const CATISpecObject_var iSurfaceToDeform)= 0
Sets the surface to deform to the wrap curve feature.
Parameters:
iSurfaceToDeform
The surface to deform.
o SetTargetCurve
public virtual HRESULT SetTargetCurve( const int iPosition,
const CATISpecObject_var iTargetCurve)= 0
Sets a target curve to the wrap curve feature.
Parameters:
iPosition
The position of the curves in the list of curves.
iTargetCurve
the target curve. if equal NULL_var, then the associated ref curve will be fixed.
o SetTargetSpine
public virtual HRESULT SetTargetSpine( const CATGSOWrapCurveTargSpineType iSpineType= CATGSOWrapCurveTargSpineRefSpine ,
const CATISpecObject_var iSpine= NULL_var )= 0
Sets the target spine to the wrap curve feature.
Parameters:
iSpineType
type of spine.
iSpine
curve to be added as a spine, if iSpineType = CATGSOWrapCurveUserTargSpine
See also:
CATGSOWrapCurveTargSpineType

This object is included in the file: CATIGSOWrapCurve.h
If needed, your Imakefile.mk should include the module: CATGotInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.