All Frameworks  Class Hierarchy  This Framework  Indexes   

VisualizationBase Class CAT3DLineRep

Usage: you must use this class as is. You should never derive it.


public class CAT3DLineRep

Class to create the representation of a line segment.


Constructor and Destructor Index


o CAT3DLineRep()
Constructs an empty representation of a line segment.
o ~CAT3DLineRep()
o CAT3DLineRep(float[6])
Constructs the representation of a line segment from end-point coordinates.
o CAT3DLineRep(CATMathPointf&,CATMathPointf&)
Constructs the representation of a line segment from end-points.

Method Index


o Get(float[6])
Retrieves the representation of the line.
o Get(CATMathPointf&,CATMathPointf&)
Retrieves the representation of the line.
o Modify(float[6])
Modifies the representation of a line segment with the new end-point coordinates.
o Modify(CATMathPointf&,CATMathPointf&)
Modifies the representation of a line segment with the new end-points.

Constructor and Destructor


o CAT3DLineRep
public CAT3DLineRep()
Constructs an empty representation of a line segment.
o ~CAT3DLineRep
public virtual ~CAT3DLineRep()
o CAT3DLineRep
public CAT3DLineRep( const iCoordinates)
Constructs the representation of a line segment from end-point coordinates.
Parameters:
iCoordinates
The coordinates of the extremities of the line segment.
o CAT3DLineRep
public CAT3DLineRep( const firstPoint,
const secondPoint)
Constructs the representation of a line segment from end-points.
Parameters:
iFirstPoint
The first extremity of the line segment.
iSecondPoint
The second extremity of the line segment.

Methods


o Get
public Get( oCoordinates)
Retrieves the representation of the line.
Parameters:
oCoordinates
The array of points that will be filled with the extremity points.
o Get
public Get( oFirstPoint,
oSecondPoint)
Retrieves the representation of the line.
Parameters:
oFirstPoint
The first extremity of the line segment.
oSecondPoint
The second extremity of the line segment.
o Modify
public Modify( const iCoordinates)
Modifies the representation of a line segment with the new end-point coordinates.
Parameters:
iCoordinates
The coordinates of the extremities of the line segment.
o Modify
public Modify( const iFirstPoint,
const iSecondPoint)
Modifies the representation of a line segment with the new end-points.
Parameters:
iFirstPoint
The first extremity of the line segment.
iSecondPoint
The second extremity of the line segment.

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

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