All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMLineBisecting

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

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


interface CATIGSMLineBisecting

Interface to create a line bisecting of two others.
Role: Allows you to access data of the Line bisecting Feature.

See also:
CATIGSMFactory.CreateLine


Method Index


o GetFirstLine(CATISpecObject_var&)
Gets the first line.
o GetLengthType(CATGSMLineLengthType&)
Gets the length type : length or infinite or infinite start point or infinite end point.
o GetLengths(CATICkeParm_var&,CATICkeParm_var&)
Gets the start and end lengthes of the line.
o GetSecondLine(CATISpecObject_var&)
Gets the second line.
o GetSolution()
Gets the current solution.
o GetStartingPoint(CATISpecObject_var&)
Gets the reference point.
o GetSupport(CATISpecObject_var&)
Gets the support surface.
o GetSymmetricalExtension(CATBoolean&)
Gets whether the symmetrical extension of the line is active.
o SetFirstLine(CATISpecObject_var&)
Sets the first line.
o SetLengthType(CATGSMLineLengthType)
Sets the length type : length or infinite or infinite start point or infinite end point.
o SetLengths(CATICkeParm_var&,CATICkeParm_var&)
Sets the start and end lengthes of the line.
o SetSecondLine(CATISpecObject_var&)
Sets the second line.
o SetSolution(int)
Selects the current solution.
o SetStartingPoint(CATISpecObject_var&)
Sets the reference point.
o SetSupport(CATISpecObject_var&)
Sets the support surface.
o SetSymmetricalExtension(CATBoolean)
Sets the symmetrical extension of the line (start = -end).

Methods


o GetFirstLine
public virtual HRESULT GetFirstLine(CATISpecObject_var& oLine1) = 0
Gets the first line.
Parameters:
oLine1
first line
o GetLengthType
public virtual HRESULT GetLengthType(CATGSMLineLengthType& oType) = 0
Gets the length type : length or infinite or infinite start point or infinite end point.
Note: Default is Length.
Length means that the line is limited by its extremities Infinite means that the line is infinite InfStartPoint means that the line is infinite on the side of the start point InfEndPoint means that the line is infinite on the side of the end point
Parameters:
oType
distance type enum {Length, Infinite, InfStartPoint, InfEndPoint}
o GetLengths
public virtual HRESULT GetLengths(CATICkeParm_var& oStart,
CATICkeParm_var& oEnd) = 0
Gets the start and end lengthes of the line.
Parameters:
oStart
start length
oEnd
end length
o GetSecondLine
public virtual HRESULT GetSecondLine(CATISpecObject_var& oLine2) = 0
Gets the second line.
Parameters:
oLine2
second line
o GetSolution
public virtual int GetSolution()= 0
Gets the current solution.
o GetStartingPoint
public virtual HRESULT GetStartingPoint(CATISpecObject_var& oPt) = 0
Gets the reference point.
This data is optional, when no point is given, the intersection of both lines is taken into account.
Parameters:
oPt.
Reference starting point. oPt=NULL_var is allowed
o GetSupport
public virtual HRESULT GetSupport(CATISpecObject_var& oSupport) = 0
Gets the support surface.
If a support surface is given, the line will lie on it.
Can be NULL_var : this data is optional. Useful when Line1 and Line2 are curves lying on a surface
Parameters:
oSupport
support
o GetSymmetricalExtension
public virtual HRESULT GetSymmetricalExtension(CATBoolean& oSym) = 0
Gets whether the symmetrical extension of the line is active.
Parameters:
oSym
Symetry flag
o SetFirstLine
public virtual HRESULT SetFirstLine( const CATISpecObject_var& iLine1) = 0
Sets the first line.
Parameters:
iLine1
first line
o SetLengthType
public virtual HRESULT SetLengthType(CATGSMLineLengthType iType) = 0
Sets the length type : length or infinite or infinite start point or infinite end point.
Parameters:
iType
length type: enum {Length, Infinite, InfStartPoint, InfEndPoint}
o SetLengths
public virtual HRESULT SetLengths( const CATICkeParm_var& iStart,
const CATICkeParm_var& End) = 0
Sets the start and end lengthes of the line.
Parameters:
iStart
start length
iEnd
end length
o SetSecondLine
public virtual HRESULT SetSecondLine( const CATISpecObject_var& iLine2) = 0
Sets the second line.
Parameters:
oLine2
second line
o SetSolution
public virtual HRESULT SetSolution(int SolNo) = 0
Selects the current solution.
2 solutions can be computed :
Parameters:
SolNo
Solution number : can be 1 or 2
o SetStartingPoint
public virtual HRESULT SetStartingPoint( const CATISpecObject_var& iPt) = 0
Sets the reference point.
Parameters:
oLine2
second line
o SetSupport
public virtual HRESULT SetSupport( const CATISpecObject_var& iSupport) = 0
Sets the support surface.
If a support surface is given, the line will lie on it.
Parameters:
iSupport
support
o SetSymmetricalExtension
public virtual HRESULT SetSymmetricalExtension(CATBoolean iSym) = 0
Sets the symmetrical extension of the line (start = -end).
Parameters:
iSym
Symetry flag

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

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