GeometricObjects Interface CATLine

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


interface CATLine

Interface representing a geometric 3D line.

A CATLine is created by the CreateLine method of the CATGeoFactory interface and deleted with the Remove method. A line is defined with:
CATMathPoint O The origin point
CATMathDirection U The direction
CATCrvParam iStart The low limitation
CATCrvParam iEnd The high limitation


Method Index


o GetDirection()
Retrieves the direction of this CATLine.
o GetDirection(CATMathDirection&)
Retrieves the direction of this CATLine.
o GetOrigin()
Retrieves the origin of this CATLine.
o GetOrigin(CATMathPoint&)
Retrieves the origin of this CATLine.
o Set(CATMathPoint&,CATMathPoint&)
Defines limitations on this CATLine.
o Set(CATMathPoint&,CATMathDirection&)
Modifies the origin and the direction of this CATLine.
o SetDirection(CATMathDirection&)
Modifies the direction of this CATLine.
o SetOrigin(CATMathPoint&)
Modifies the origin of this CATLine.

Methods


o GetDirection
public virtual GetDirection()
Retrieves the direction of this CATLine. The signature which returns the CATMathDirection in output argument should be preferably used.
Returns:
The origin.
o GetDirection
public virtual GetDirection( ioDirection)
Retrieves the direction of this CATLine.
Parameters:
ioDirection
The direction.
o GetOrigin
public virtual GetOrigin()
Retrieves the origin of this CATLine. The signature which returns the CATMathPoint in output argument should be preferably used.
Returns:
The origin.
o GetOrigin
public virtual GetOrigin( ioOrigin)
Retrieves the origin of this CATLine.
Parameters:
ioOrigin
The origin.
o Set
public virtual Set( const iSegmentLimit1,
const iSegmentLimit2)
Defines limitations on this CATLine.
Parameters:
iSegmentLimit1
The first limitation.
iSegmentLimit2
The end limitation.
o Set
public virtual Set( const iNewOrigin,
const iNewDirection)
Modifies the origin and the direction of this CATLine.
Parameters:
iNewOrigin
The new origin.
iNewDirection
The new direction.
o SetDirection
public virtual SetDirection( const iNewDirection)
Modifies the direction of this CATLine.
Parameters:
iNewDirection
The new direction.
o SetOrigin
public virtual SetOrigin( const iNewOrigin)
Modifies the origin of this CATLine.
Parameters:
iNewOrigin
The new origin.

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

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