Open CASCADE Technology 6.6.0
|
Defines IGES Radius Dimension, type <222> Form <0, 1>,
in package IGESDimen.
A Radius Dimension Entity consists of a General Note, a
leader, and an arc center point. A second form of this
entity accounts for the occasional need to have two
leader entities referenced.
#include <IGESDimen_RadiusDimension.hxx>
Public Member Functions | |
IGESDimen_RadiusDimension () | |
void | Init (const Handle< IGESDimen_GeneralNote > &aNote, const Handle< IGESDimen_LeaderArrow > &anArrow, const gp_XY &arcCenter, const Handle< IGESDimen_LeaderArrow > &anotherArrow) |
void | InitForm (const Standard_Integer form) |
Allows to change Form Number (1 admits null arrow) | |
Handle_IGESDimen_GeneralNote | Note () const |
returns the General Note entity | |
Handle_IGESDimen_LeaderArrow | Leader () const |
returns the Leader Arrow entity | |
gp_Pnt2d | Center () const |
returns the coordinates of the Arc Center | |
gp_Pnt | TransformedCenter () const |
returns the coordinates of the Arc Center after Transformation (Z coord taken from ZDepth of Leader Entity) | |
Standard_Boolean | HasLeader2 () const |
returns True if form is 1, False if 0 | |
Handle_IGESDimen_LeaderArrow | Leader2 () const |
returns Null handle if Form is 0 |
IGESDimen_RadiusDimension::IGESDimen_RadiusDimension | ( | ) |
gp_Pnt2d IGESDimen_RadiusDimension::Center | ( | ) | const |
Standard_Boolean IGESDimen_RadiusDimension::HasLeader2 | ( | ) | const |
void IGESDimen_RadiusDimension::Init | ( | const Handle< IGESDimen_GeneralNote > & | aNote, |
const Handle< IGESDimen_LeaderArrow > & | anArrow, | ||
const gp_XY & | arcCenter, | ||
const Handle< IGESDimen_LeaderArrow > & | anotherArrow | ||
) |
void IGESDimen_RadiusDimension::InitForm | ( | const Standard_Integer | form | ) |
Handle_IGESDimen_LeaderArrow IGESDimen_RadiusDimension::Leader | ( | ) | const |
Handle_IGESDimen_LeaderArrow IGESDimen_RadiusDimension::Leader2 | ( | ) | const |
Handle_IGESDimen_GeneralNote IGESDimen_RadiusDimension::Note | ( | ) | const |
gp_Pnt IGESDimen_RadiusDimension::TransformedCenter | ( | ) | const |