All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT3DLineRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT3DRep
          |
          +---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(CATMathPointf&,CATMathPointf&)
Constructs the representation of a line segment from end-points.
o CAT3DLineRep(float[6])
Constructs the representation of a line segment from end-point coordinates.
o ~CAT3DLineRep()

Method Index


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

Constructor and Destructor


o CAT3DLineRep
public CAT3DLineRep()
Constructs an empty representation of a line segment.
o CAT3DLineRep
public CAT3DLineRep( const CATMathPointf& firstPoint,
const CATMathPointf& 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.
o CAT3DLineRep
public CAT3DLineRep( const float[6] 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 virtual ~CAT3DLineRep()

Methods


o Get
public void Get(CATMathPointf& oFirstPoint,
CATMathPointf& 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 Get
public void Get(float[6] oCoordinates)
Retrieves the representation of the line.
Parameters:
oCoordinates
The array of points that will be filled with the extremity points.
o Modify
public void Modify( const CATMathPointf& iFirstPoint,
const CATMathPointf& 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.
o Modify
public void Modify( const float[6] 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.

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.