All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMLineAngle

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

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


interface CATIGSMLineAngle

Interface to line feature defined from a reference curve, a plane, a point and an angle.
Role: Allows you to access data of the the line feature created with an angle to a curve.

See also:
CATIGSMFactory.CreateLine


Method Index


o GetAngle(CATICkeParm_var&)
Gets the angle.
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 GetPlaneNormal(CATMathVector&)
Get the Normal of the plane created when the Support of the curve is not specified.
o GetReferenceCurve(CATISpecObject_var&)
Gets the reference curve.
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 IsGeodesic(CATBoolean&)
Queries geodesic mode.
o SetAngle(CATICkeParm_var)
Sets the angle.
o SetGeodesic()
Sets geodesic mode.
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 SetNormal()
Sets the line normal to the curve on the surface.
o SetPlaneNormal(CATMathVector&)
Set the Normal of the plane created when the Support of the curve is not specified.
o SetReferenceCurve(CATISpecObject_var)
Sets the reference curve.
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).
o UnsetGeodesic()
Inactivates geodesic mode.

Methods


o GetAngle
public virtual HRESULT GetAngle(CATICkeParm_var& oAngle) = 0
Gets the angle.
Parameters:
oAngle
angle value
o GetLengthType
public virtual HRESULT GetLengthType(CATGSMLineLengthType& oType) = 0
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 GetPlaneNormal
public virtual HRESULT GetPlaneNormal(CATMathVector& oNormal) = 0
Get the Normal of the plane created when the Support of the curve is not specified.
Parameters:
oNormal
CATMathVector
o GetReferenceCurve
public virtual HRESULT GetReferenceCurve(CATISpecObject_var& oCurve) = 0
Gets the reference curve.
Parameters:
oCurve
reference curve
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.
Parameters:
oSupport
support surface
o GetSymmetricalExtension
public virtual HRESULT GetSymmetricalExtension(CATBoolean& oSym) = 0
Gets whether the symmetrical extension of the line is active.
Parameters:
oSym
Symetry flag
o IsGeodesic
public virtual HRESULT IsGeodesic(CATBoolean& oGeod) = 0
Queries geodesic mode.
Parameters:
oGeod
geodesic mode on (TRUE) or not (FALSE)
o SetAngle
public virtual HRESULT SetAngle( const CATICkeParm_var iAngle) = 0
Sets the angle.
Parameters:
iAngle
angle value
o SetGeodesic
public virtual HRESULT SetGeodesic()= 0
Sets geodesic mode.
If geodesic, the line lies on the support surface, otherwise the surface is only used to compute the line direction.
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 iEnd) = 0
Sets the start and end lengthes of the line.
Parameters:
iStart
start length
iEnd
end length
o SetNormal
public virtual HRESULT SetNormal()= 0
Sets the line normal to the curve on the surface. Same as Angle = 90deg.
o SetPlaneNormal
public virtual HRESULT SetPlaneNormal( const CATMathVector& iNormal) = 0
Set the Normal of the plane created when the Support of the curve is not specified.
Parameters:
iNormal
CATMathVector
o SetReferenceCurve
public virtual HRESULT SetReferenceCurve( const CATISpecObject_var iCurve) = 0
Sets the reference curve.
Parameters:
iCurve
reference curve
o SetStartingPoint
public virtual HRESULT SetStartingPoint( const CATISpecObject_var iPoint) = 0
Sets the starting point of the line.
Parameters:
iPoint
starting point
o SetSupport
public virtual HRESULT SetSupport( const CATISpecObject_var iSupport) = 0
Sets the support surface.
Parameters:
iSupport
support surface
o SetSymmetricalExtension
public virtual HRESULT SetSymmetricalExtension(CATBoolean iSym) = 0
Sets the symmetrical extension of the line (start = -end).
Parameters:
iSym
Symetry flag
o UnsetGeodesic
public virtual HRESULT UnsetGeodesic()= 0
Inactivates geodesic mode. If geodesic, the line lies on the support surface, otherwise the surface is only used to compute the line direction.

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

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