CATGSMUseItf Interface CATIGSMUseSpine

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


interface CATIGSMUseSpine

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

See also:
CATIGSMUseFactory.CreateSpine


Method Index


o AddGuide(CATIMmiMechanicalFeature_var,CATGSMLoftAddType,CATIMmiMechanicalFeature_var)
Adds guide to the spine curve.
o AddSection(CATIMmiMechanicalFeature_var,CATGSMLoftAddType,CATIMmiMechanicalFeature_var)
Adds the section or plane to the spine curve.
o GetAllGuides(CATLISTV(CATIMmiMechanicalFeature_var)&)
Gets informations about the guides of the spine curve.
o GetAllSections(CATLISTV(CATIMmiMechanicalFeature_var)&,CATIMmiMechanicalFeature_var&,CATIMmiMechanicalFeature_var&)
Gets informations about the sections of the spine curve.
o GetOrientation(enum CATGSMOrientation&)
Gets the orientation.
o GetStartPoint(CATIMmiMechanicalFeature_var&)
Gets the start point to the spine curve.
o ModifyGuideCurve(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var)
Modifies the curve of a guide from the spine curve.
o ModifySectionCurve(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var)
Modifies the section curve or plane of the spine curve.
o RemoveGuide(CATIMmiMechanicalFeature_var)
Removes guide from the spine curve.
o RemoveSection(CATIMmiMechanicalFeature_var)
Removes the section or plane from the spine curve.
o SetOrientation(enum CATGSMOrientation)
Sets the orientation.
o SetStartPoint(CATIMmiMechanicalFeature_var)
Sets the start point of the spine curve.

Methods


o AddGuide
public virtual HRESULT AddGuide( const CATIMmiMechanicalFeature_var iGuide,
const CATGSMLoftAddType iAddType= CATGSMLoftAdd ,
const CATIMmiMechanicalFeature_var iGuideRef= NULL_var )= 0
Adds guide to the spine curve.
Parameters:
iGuide
The guide curve to be added
iAddType
The type of adding : CATGSMLoftAdd, iSection will be added at the end of the guide list. CATGSMLoftAddAfter, iGuide will be added after iGuideRef. CATGSMLoftAddBefore, iGuide will be added before iGuideRef.
iGuideRef
The guide curve used as a reference for CATGSMLoftAddAfter and CATGSMLoftAddBefore adding type
See also:
CATGSMLoftAddType
o AddSection
public virtual HRESULT AddSection( const CATIMmiMechanicalFeature_var iSection,
const CATGSMLoftAddType iAddType= CATGSMLoftAdd ,
const CATIMmiMechanicalFeature_var iSectionRef= NULL_var )= 0
Adds the section or plane to the spine curve.
Parameters:
iSection
The section curve or plane to be added
iAddType
The type of adding : CATGSMLoftAdd, iSection will be added at the end of the section list. CATGSMLoftAddAfter, iSection will be added after iSectionRef. CATGSMLoftAddBefore, iSection will be added before iSectionRef.
See also:
CATGSMLoftAddType
iSectionRef
The section curve used as a reference for CATGSMLoftAddAfter and CATGSMLoftAddBefore adding type
o GetAllGuides
public virtual HRESULT GetAllGuides(CATLISTV(CATIMmiMechanicalFeature_var)& oGuides)= 0
Gets informations about the guides of the spine curve.
Parameters:
oGuides
The list of the guides curves.
o GetAllSections
public virtual HRESULT GetAllSections(CATLISTV(CATIMmiMechanicalFeature_var)& oSections,
CATIMmiMechanicalFeature_var& oStartSectionTangent,
CATIMmiMechanicalFeature_var& oEndSectionTangent)= 0
Gets informations about the sections of the spine curve.
Parameters:
oSections
The list of the section curves.
oStartSectionTangent
The tangent surface at start section.
oEndSectionTangent
The tangent surface at end section.
o GetOrientation
public virtual HRESULT GetOrientation(enum CATGSMOrientation& oOrientation) = 0
Gets the orientation.
Parameters:
oOrientation
Orientation by reference with the normal to the first section/plane
o GetStartPoint
public virtual HRESULT GetStartPoint(CATIMmiMechanicalFeature_var& oPoint)= 0
Gets the start point to the spine curve.
Parameters:
oPoint
The point used as a start point
o ModifyGuideCurve
public virtual HRESULT ModifyGuideCurve( const CATIMmiMechanicalFeature_var iGuide,
const CATIMmiMechanicalFeature_var iNewGuide)= 0
Modifies the curve of a guide from the spine curve.
Parameters:
iGuide
The guide curve to be replaced.
iNewGuide
The guide curve, will replace iGuide.
o ModifySectionCurve
public virtual HRESULT ModifySectionCurve( const CATIMmiMechanicalFeature_var iSection,
const CATIMmiMechanicalFeature_var iNewSection)= 0
Modifies the section curve or plane of the spine curve.
Parameters:
iSection
The section curve or plane to be replaced.
iNewSection
The section curve or plane, will replace iSection.
o RemoveGuide
public virtual HRESULT RemoveGuide( const CATIMmiMechanicalFeature_var iGuide)= 0
Removes guide from the spine curve.
Parameters:
iGuide
The guide curve to be removed.
o RemoveSection
public virtual HRESULT RemoveSection( const CATIMmiMechanicalFeature_var iSection)= 0
Removes the section or plane from the spine curve.
Parameters:
iSection
The section curve or plane to be removed.
o SetOrientation
public virtual HRESULT SetOrientation( const enum CATGSMOrientation iOrientation) = 0
Sets the orientation.
Parameters:
iOrientation
Orientation by reference with the normal to the first section/plane
o SetStartPoint
public virtual HRESULT SetStartPoint( const CATIMmiMechanicalFeature_var iPoint= NULL_var )= 0
Sets the start point of the spine curve.
Parameters:
iPoint
The point to be added if no iPoint is provided, remove the start point.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.