Open CASCADE Technology
6.5.4
|
defines IGESOffsetCurve, Type <130> Form <0>
in package IGESGeom
An OffsetCurve entity contains the data necessary to
determine the offset of a given curve C. This entity
points to the base curve to be offset and contains
offset distance and other pertinent information.
#include <IGESGeom_OffsetCurve.hxx>
Public Member Functions | |
IGESGeom_OffsetCurve () | |
void | Init (const Handle< IGESData_IGESEntity > &aBaseCurve, const Standard_Integer anOffsetType, const Handle< IGESData_IGESEntity > &aFunction, const Standard_Integer aFunctionCoord, const Standard_Integer aTaperedOffsetType, const Standard_Real offDistance1, const Standard_Real arcLength1, const Standard_Real offDistance2, const Standard_Real arcLength2, const gp_XYZ &aNormalVec, const Standard_Real anOffsetParam, const Standard_Real anotherOffsetParam) |
This method is used to set the fields of the class OffsetCurve | |
Handle_IGESData_IGESEntity | BaseCurve () const |
returns the curve to be offset | |
Standard_Integer | OffsetType () const |
returns the offset distance flag 1 = Single value offset (uniform distance) 2 = Offset distance varying linearly 3 = Offset distance specified as a function | |
Handle_IGESData_IGESEntity | Function () const |
returns the function defining the offset if at all the offset is described as a function or Null Handle. | |
Standard_Boolean | HasFunction () const |
returns True if function defining the offset is present. | |
Standard_Integer | FunctionParameter () const |
returns particular coordinate of the curve which describes offset as a function of its parameters. (only used if OffsetType() = 3) | |
Standard_Integer | TaperedOffsetType () const |
returns tapered offset type flag (only used if OffsetType() = 2 or 3) 1 = Function of arc length 2 = Function of parameter | |
Standard_Real | FirstOffsetDistance () const |
returns first offset distance (only used if OffsetType() = 1 or 2) | |
Standard_Real | ArcLength1 () const |
returns arc length or parameter value (depending on value of offset distance flag) of first offset distance (only used if OffsetType() = 2) | |
Standard_Real | SecondOffsetDistance () const |
returns the second offset distance | |
Standard_Real | ArcLength2 () const |
returns arc length or parameter value (depending on value of offset distance flag) of second offset distance (only used if OffsetType() = 2) | |
gp_Vec | NormalVector () const |
returns unit vector normal to plane containing curve to be offset | |
gp_Vec | TransformedNormalVector () const |
returns unit vector normal to plane containing curve to be offset after applying Transf. Matrix | |
void | Parameters (Standard_Real &StartParam, Standard_Real &EndParam) const |
Standard_Real | StartParameter () const |
returns Start Parameter value of the offset curve | |
Standard_Real | EndParameter () const |
returns End Parameter value of the offset curve |
Handle_IGESData_IGESEntity IGESGeom_OffsetCurve::BaseCurve | ( | ) | const |
Handle_IGESData_IGESEntity IGESGeom_OffsetCurve::Function | ( | ) | const |
void IGESGeom_OffsetCurve::Init | ( | const Handle< IGESData_IGESEntity > & | aBaseCurve, |
const Standard_Integer | anOffsetType, | ||
const Handle< IGESData_IGESEntity > & | aFunction, | ||
const Standard_Integer | aFunctionCoord, | ||
const Standard_Integer | aTaperedOffsetType, | ||
const Standard_Real | offDistance1, | ||
const Standard_Real | arcLength1, | ||
const Standard_Real | offDistance2, | ||
const Standard_Real | arcLength2, | ||
const gp_XYZ & | aNormalVec, | ||
const Standard_Real | anOffsetParam, | ||
const Standard_Real | anotherOffsetParam | ||
) |
gp_Vec IGESGeom_OffsetCurve::NormalVector | ( | ) | const |
void IGESGeom_OffsetCurve::Parameters | ( | Standard_Real & | StartParam, |
Standard_Real & | EndParam | ||
) | const |