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

#include <Aspect_CircularGrid.hxx>

Inheritance diagram for Aspect_CircularGrid:
Inheritance graph
[legend]

Public Member Functions

 Aspect_CircularGrid (const Quantity_Length aRadiusStep, const Standard_Integer aDivisionNumber, const Quantity_Length XOrigin=0, const Quantity_Length anYOrigin=0, const Quantity_PlaneAngle aRotationAngle=0)
 creates a new grid. By default this grid is not
active.

void SetRadiusStep (const Quantity_Length aStep)
 defines the x step of the grid.

void SetDivisionNumber (const Standard_Integer aNumber)
 defines the step of the grid.

void SetGridValues (const Quantity_Length XOrigin, const Quantity_Length YOrigin, const Quantity_Length RadiusStep, const Standard_Integer DivisionNumber, const Quantity_PlaneAngle RotationAngle)
void Compute (const Quantity_Length X, const Quantity_Length Y, Quantity_Length &gridX, Quantity_Length &gridY) const
 returns the point of the grid the closest to the point X,Y

Quantity_Length RadiusStep () const
 returns the x step of the grid.

Standard_Integer DivisionNumber () const
 returns the x step of the grid.

void Init ()

Constructor & Destructor Documentation

Aspect_CircularGrid::Aspect_CircularGrid ( const Quantity_Length  aRadiusStep,
const Standard_Integer  aDivisionNumber,
const Quantity_Length  XOrigin = 0,
const Quantity_Length  anYOrigin = 0,
const Quantity_PlaneAngle  aRotationAngle = 0 
)

Member Function Documentation

Implements Aspect_Grid.

Implements Aspect_Grid.


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