CATGSMUseItf Interface CATIGSMUseLineBisecting
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMUseLineBisecting
Interface to create a line bisecting of two others.
Role: Allows you to access data of the Line bisecting Feature.
- See also:
-
Method Index
- o
GetFirstLine(CATIMmiMechanicalFeature_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(CATIMmiMechanicalFeature_var&)
- Gets the second line.
- o
GetSolution()
- Gets the current solution.
- o
GetStartingPoint(CATIMmiMechanicalFeature_var&)
- Gets the reference point.
- o
GetSupport(CATIMmiMechanicalFeature_var&)
- Gets the support surface.
- o
GetSymmetricalExtension(CATBoolean&)
- Gets whether the symmetrical extension of the line is active.
- o
SetFirstLine(CATIMmiMechanicalFeature_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(CATIMmiMechanicalFeature_var&)
- Sets the second line.
- o
SetSolution(int)
- Selects the current solution.
- o
SetStartingPoint(CATIMmiMechanicalFeature_var&)
- Sets the reference point.
- o
SetSupport(CATIMmiMechanicalFeature_var&)
- Sets the support surface.
- o
SetSymmetricalExtension(CATBoolean)
- Sets the symmetrical extension of the line (start = -end).
Methods
o GetFirstLine
public virtual GetFirstLine( | | oLine1) |
-
Gets the first line.
- Parameters:
-
- oLine1
- first line
o GetLengthType
public virtual GetLengthType( | | oType) |
-
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 GetLengths( | | oStart, |
| | oEnd) |
-
Gets the start and end lengthes of the line.
- Parameters:
-
- oStart
- start length
- oEnd
- end length
o GetSecondLine
public virtual GetSecondLine( | | oLine2) |
-
Gets the second line.
- Parameters:
-
- oLine2
- second line
o GetSolution
public virtual GetSolution( | ) |
-
Gets the current solution.
o GetStartingPoint
public virtual GetStartingPoint( | | oPt) |
-
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 GetSupport( | | oSupport) |
-
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 GetSymmetricalExtension( | | oSym) |
-
Gets whether the symmetrical extension of the line is active.
- Parameters:
-
- oSym
- Symetry flag
o SetFirstLine
public virtual SetFirstLine( | const | iLine1) |
-
Sets the first line.
- Parameters:
-
- iLine1
- first line
o SetLengthType
public virtual SetLengthType( | | iType) |
-
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 SetLengths( | const | iStart, |
| const | End) |
-
Sets the start and end lengthes of the line.
- Parameters:
-
- iStart
- start length
- iEnd
- end length
o SetSecondLine
public virtual SetSecondLine( | const | iLine2) |
-
Sets the second line.
- Parameters:
-
- oLine2
- second line
o SetSolution
public virtual SetSolution( | | SolNo) |
-
Selects the current solution.
2 solutions can be computed :
- The first solution is computed using the half angle between first and second line.
This angle is oriented using the direction of perpendicular line of first and second line.
- Second solution is perpendicular to the first.
- Parameters:
-
- SolNo
- Solution number : can be 1 or 2
o SetStartingPoint
public virtual SetStartingPoint( | const | iPt) |
-
Sets the reference point.
- Parameters:
-
- oLine2
- second line
o SetSupport
public virtual SetSupport( | const | iSupport) |
-
Sets the support surface.
If a support surface is given, the line will lie on it.
- Parameters:
-
- iSupport
- support
o SetSymmetricalExtension
public virtual SetSymmetricalExtension( | | iSym) |
-
Sets the symmetrical extension of the line (start = -end).
- Parameters:
-
- iSym
- Symetry flag
This object is included in the file: CATIGSMUseLineBisecting.h
If needed, your Imakefile.mk should include the module: CATGSMUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.