VisualizationFoundation 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(float[6])
o CAT3DLineRep()
o CAT3DLineRep(CATMathPointf&,CATMathPointf&)
o ~CAT3DLineRep()

Method Index


o CreateRep()
Constructs an empty representation of a line segment.
o CreateRep(float[6])
Constructs the representation of a line segment from end-point coordinates.
o CreateRep(CATMathPointf&,CATMathPointf&)
Constructs the representation of a line segment from end-points.
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( const iCoordinates)
Deprecated:
R417 : Use CreateRep instead.
o CAT3DLineRep
public CAT3DLineRep()
Deprecated:
R417 : Use CreateRep instead.
o CAT3DLineRep
public CAT3DLineRep( const firstPoint,
const secondPoint)
Deprecated:
R417 : Use CreateRep instead.
o ~CAT3DLineRep
public virtual ~CAT3DLineRep()

Methods


o CreateRep
public static CreateRep()
Constructs an empty representation of a line segment.
o CreateRep
public static CreateRep( 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 CreateRep
public static CreateRep( 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.
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: CATVisFoundation

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