Open CASCADE Technology 7.8.2.dev
BRepMesh_Circle Class Reference

Describes a 2d circle with a size of only 3 Standard_Real numbers instead of gp who needs 7 Standard_Real numbers. More...

#include <BRepMesh_Circle.hxx>

Public Member Functions

 BRepMesh_Circle ()
 Default constructor.
 
 BRepMesh_Circle (const gp_XY &theLocation, const Standard_Real theRadius)
 Constructor.
 
void SetLocation (const gp_XY &theLocation)
 Sets location of a circle.
 
void SetRadius (const Standard_Real theRadius)
 Sets radius of a circle.
 
const gp_XYLocation () const
 Returns location of a circle.
 
const Standard_RealRadius () const
 Returns radius of a circle.
 

Detailed Description

Describes a 2d circle with a size of only 3 Standard_Real numbers instead of gp who needs 7 Standard_Real numbers.

Constructor & Destructor Documentation

◆ BRepMesh_Circle() [1/2]

BRepMesh_Circle::BRepMesh_Circle ( )
inline

Default constructor.

◆ BRepMesh_Circle() [2/2]

BRepMesh_Circle::BRepMesh_Circle ( const gp_XY & theLocation,
const Standard_Real theRadius )
inline

Constructor.

Parameters
theLocationlocation of a circle.
theRadiusradius of a circle.

Member Function Documentation

◆ Location()

const gp_XY & BRepMesh_Circle::Location ( ) const
inline

Returns location of a circle.

◆ Radius()

const Standard_Real & BRepMesh_Circle::Radius ( ) const
inline

Returns radius of a circle.

◆ SetLocation()

void BRepMesh_Circle::SetLocation ( const gp_XY & theLocation)
inline

Sets location of a circle.

Parameters
theLocationlocation of a circle.

◆ SetRadius()

void BRepMesh_Circle::SetRadius ( const Standard_Real theRadius)
inline

Sets radius of a circle.

Parameters
theRadiusradius of a circle.

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