All Frameworks Class Hierarchy This Framework Previous Next Indexes
GSMInterfaces Interface CATIGSMLinePtDir
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIGSMLinePtDir
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMLinePtDir
Interface to line feature defined by a point and a direction.
Role: Allows you to access data of the line feature created by using
a passing point and a direction.
- See also:
- CATIGSMFactory.CreateLine
Method Index
- o
GetDirection(CATIGSMDirection_var&)
- Gets the direction of the 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
GetStartingPoint(CATISpecObject_var&)
- Gets the starting point of the line.
- o
GetSupport(CATISpecObject_var&)
- Gets the support surface.
- o
GetSymmetricalExtension(CATBoolean&)
- Gets whether the symmetrical extension of the line is active.
- o
RemoveSupport()
- Removes the support surface.
- o
SetDirection(CATIGSMDirection_var)
- Sets the direction of the 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
SetStartingPoint(CATISpecObject_var)
- Sets the starting point of the line.
- o
SetSupport(CATISpecObject_var)
- Sets the support surface.
- o
SetSymmetricalExtension(CATBoolean)
- Sets the symmetrical extension of the line (start = -end).
Methods
o GetDirection
public virtual HRESULT GetDirection( | CATIGSMDirection_var& | oDirection) = 0 |
-
Gets the direction of the line.
- Parameters:
-
- oDirection
- direction
- See also:
- CATIGSMDirection
o GetLengthType
-
Gets the length type : length or infinite or infinite start point or infinite end point.
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 GetStartingPoint
public virtual HRESULT GetStartingPoint( | CATISpecObject_var& | oPoint) = 0 |
-
Gets the starting point of the line.
- Parameters:
-
- oPoint
- starting point
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.
- Parameters:
-
- oSupport
- support
o GetSymmetricalExtension
-
Gets whether the symmetrical extension of the line is active.
- Parameters:
-
- oSym
- Symetry flag
o RemoveSupport
public virtual HRESULT RemoveSupport( | )= 0 |
-
Removes the support surface.
o SetDirection
-
Sets the direction of the line.
- Parameters:
-
- iDirection
- direction
- See also:
- CATIGSMDirection
o SetLengthType
-
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
-
Sets the start and end lengthes of the line.
- Parameters:
-
- iStart
- start length
- iEnd
- end length
o SetStartingPoint
-
Sets the starting point of the line.
- Parameters:
-
- oPoint
- starting point
o SetSupport
-
Sets the support surface.
If a support surface is given, the line will lie on it.
- Parameters:
-
- iSupport
- support
o SetSymmetricalExtension
-
Sets the symmetrical extension of the line (start = -end).
- Parameters:
-
- iSym
- Symetry flag
This object is included in the file: CATIGSMLinePtDir.h
If needed, your Imakefile.mk should include the module: CATGitInterfaces