All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT2DPointRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT2DRep
          |
          +---CAT2DPointRep
 

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


public class CAT2DPointRep

Class to create a representation of a 2D Point.
In fact, it is a 2D Marker composed of one symbol. It can be a point but it is not necessary. A 2D Marker has a fixed zoom. Its size in pixel does not change.


Constructor and Destructor Index


o CAT2DPointRep()
Default Constructor.
o CAT2DPointRep(CATMathPoint2Df&,CATSymbolType)
Constructs a 2D Point representation.
o ~CAT2DPointRep()

Method Index


o Modify(CATMathPoint2Df&)
Modifies the position of the 2D Point.
o SetSymbol(CATSymbolType)
Sets the symbol of the 2D point.

Constructor and Destructor


o CAT2DPointRep
public CAT2DPointRep()
Default Constructor.
o CAT2DPointRep
public CAT2DPointRep( const CATMathPoint2Df& iPoint,
CATSymbolType iSymbol= CROSS)
Constructs a 2D Point representation.
Parameters:
iPoint
The position of the symbol which compose the 2D Point.
iSymbol
the type of 2D Point.
legal values:
  • CROSS : a cross which looks like a "X".
  • PLUS : a cross which looks like a "+"
  • CONCENTRIC : an unfilled circle
  • COINCIDENT : two unfilled concentric circles
  • FULLCIRCLE : a filled circle
  • FULLSQUARE : a filled square
  • STAR : a star which is the union of a 2D marker CROSS ,a 2D marker PLUS and a 2D marker DOT
  • DOT : a dot
  • SMALLDOT : a smalldot (one pixel)
  • MISC1 : a kind of arrow which points to the bottom-left
    	     /
    	|  /
    	|/__
    	
  • MISC2 : a kind of arrow which points to the top-rigth
    	    ___ 	
    	      /|
    	    /  |
    	  /
    	
  • FULLCIRCLE2 : a big FULLCIRCLE
  • FULLSQUARE2 : a big FULLSQUARE

By default, the 2D Point represents a CROSS.
o ~CAT2DPointRep
public virtual ~CAT2DPointRep()

Methods


o Modify
public void Modify( const CATMathPoint2Df& iPoint)
Modifies the position of the 2D Point.
Parameters:
iPoint
the position of the 2D point.
o SetSymbol
public void SetSymbol(CATSymbolType iSymbol)
Sets the symbol of the 2D point.
Parameters:
iSymbol

legal values:
  • CROSS : a cross which looks like a "X".
  • PLUS : a cross which looks like a "+"
  • CONCENTRIC : an unfilled circle
  • COINCIDENT : two unfilled concentric circles
  • FULLCIRCLE : a filled circle
  • FULLSQUARE : a filled square
  • STAR : a star which is the union of a 2D marker CROSS ,a 2D marker PLUS and a 2D marker DOT
  • DOT : a dot
  • SMALLDOT : a smalldot (one pixel)
  • MISC1 : a kind of arrow which points to the bottom-left
    	     /
    	|  /
    	|/__
    	
  • MISC2 : a kind of arrow which points to the top-rigth
    	    ___ 	
    	      /|
    	    /  |
    	  /
    	
  • FULLCIRCLE2 : a big FULLCIRCLE
  • FULLSQUARE2 : a big FULLSQUARE

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

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