Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
Prs2d_Tolerance Class Reference

Groups all the tolerances

#include <Prs2d_Tolerance.hxx>

Inheritance diagram for Prs2d_Tolerance:
Inheritance graph
[legend]

Public Member Functions

void SetCoord (const Standard_Real aX, const Standard_Real aY)
 Changes the coordinates of this tolerance

void SetSize (const Standard_Real aLen)
 Defines the size of this one

Protected Member Functions

 Prs2d_Tolerance (const Handle< Graphic2d_GraphicObject > &aGO, const Standard_Real aX, const Standard_Real aY, const Standard_Real aLength, const Standard_Real anAngle)
 Creates a tolerance with the center in the point (<aX>, <aY>);
reference point is <aXPosition>, <aYPosition>

Standard_Boolean Pick (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal aPrecision, const Handle< Graphic2d_Drawer > &aDrawer)
 Returns Standard_True if the Tolerance is picked,
Standard_False if not.

Protected Attributes

Standard_ShortReal myX
Standard_ShortReal myY
Standard_ShortReal myLength
Standard_ShortReal myAngle

Constructor & Destructor Documentation


Member Function Documentation

Implements Graphic2d_Primitive.


Field Documentation


The documentation for this class was generated from the following file: