Open CASCADE Technology
6.5.4
|
defines IGESPlane, Type <108> Form <-1,0,1>
in package IGESGeom
A plane entity can be used to represent unbounded plane,
as well as bounded portion of a plane. In either of the
above cases the plane is defined within definition space
by means of coefficients A, B, C, D where at least one of
A, B, C is non-zero and A * XT + B * YT + C * ZT = D
#include <IGESGeom_Plane.hxx>
Public Member Functions | |
IGESGeom_Plane () | |
void | Init (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D, const Handle< IGESData_IGESEntity > &aCurve, const gp_XYZ &attach, const Standard_Real aSize) |
void | SetFormNumber (const Standard_Integer form) |
Changes FormNumber (indicates the Type of Bound : 0 no Bound, 1 (External) Bound, -1 Hole) Remark that Init keeps this Value and must be consistent : aCurve Null if FormNumber = 0, Non-Null else Error if not in ranges [0-1] or [10-12] | |
void | Equation (Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &D) const |
void | TransformedEquation (Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &D) const |
Standard_Boolean | HasBoundingCurve () const |
returns True if there exists a bounding curve | |
Standard_Boolean | HasBoundingCurveHole () const |
returns True if bounding curve exists and bounded portion is negative | |
Handle_IGESData_IGESEntity | BoundingCurve () const |
returns Optional Bounding Curve, can be positive (normal clipping) or negative (hole) according to Form Number | |
Standard_Boolean | HasSymbolAttach () const |
returns True if SymbolSize() > 0, False if SymbolSize() = 0 | |
gp_Pnt | SymbolAttach () const |
returns (X, Y, Z) if symbol exists else returns (0, 0, 0) | |
gp_Pnt | TransformedSymbolAttach () const |
returns (X, Y, Z) if symbol exists after applying Transf. Matrix else returns (0, 0, 0) | |
Standard_Real | SymbolSize () const |
Size of optional display symbol |
Handle_IGESData_IGESEntity IGESGeom_Plane::BoundingCurve | ( | ) | const |
void IGESGeom_Plane::Equation | ( | Standard_Real & | A, |
Standard_Real & | B, | ||
Standard_Real & | C, | ||
Standard_Real & | D | ||
) | const |
void IGESGeom_Plane::Init | ( | const Standard_Real | A, |
const Standard_Real | B, | ||
const Standard_Real | C, | ||
const Standard_Real | D, | ||
const Handle< IGESData_IGESEntity > & | aCurve, | ||
const gp_XYZ & | attach, | ||
const Standard_Real | aSize | ||
) |
gp_Pnt IGESGeom_Plane::SymbolAttach | ( | ) | const |
Standard_Real IGESGeom_Plane::SymbolSize | ( | ) | const |
void IGESGeom_Plane::TransformedEquation | ( | Standard_Real & | A, |
Standard_Real & | B, | ||
Standard_Real & | C, | ||
Standard_Real & | D | ||
) | const |