Open CASCADE Technology 6.6.0
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

void Aspect_CircularGrid::Compute ( const Quantity_Length  X,
const Quantity_Length  Y,
Quantity_Length gridX,
Quantity_Length gridY 
) const [virtual]

Implements Aspect_Grid.

Standard_Integer Aspect_CircularGrid::DivisionNumber ( ) const
void Aspect_CircularGrid::Init ( ) [virtual]

Implements Aspect_Grid.

Quantity_Length Aspect_CircularGrid::RadiusStep ( ) const
void Aspect_CircularGrid::SetDivisionNumber ( const Standard_Integer  aNumber)
void Aspect_CircularGrid::SetGridValues ( const Quantity_Length  XOrigin,
const Quantity_Length  YOrigin,
const Quantity_Length  RadiusStep,
const Standard_Integer  DivisionNumber,
const Quantity_PlaneAngle  RotationAngle 
)
void Aspect_CircularGrid::SetRadiusStep ( const Quantity_Length  aStep)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines