OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKFillet
BRepBlend


BRepBlend_ConstRad Class Reference

#include <BRepBlend_ConstRad.hxx>

Inheritance diagram for BRepBlend_ConstRad:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepBlend_ConstRad (const Handle(Adaptor3d_HSurface)&S1, const Handle(Adaptor3d_HSurface)&S2, const Handle(Adaptor3d_HCurve)&C)
Standard_EXPORT Standard_Integer NbEquations () const
 returns the number of equations of the function.

Standard_EXPORT Standard_Boolean Value (const math_Vector &X, math_Vector &F)
 computes the values <f> of the Functions for the
variable <x>.
Returns True if the computation was done successfully,
False otherwise.

Standard_EXPORT Standard_Boolean Derivatives (const math_Vector &X, math_Matrix &D)
 returns the values <d> of the derivatives for the
variable <x>.
Returns True if the computation was done successfully,
False otherwise.

Standard_EXPORT Standard_Boolean Values (const math_Vector &X, math_Vector &F, math_Matrix &D)
 returns the values <f> of the functions and the derivatives
<d> for the variable <x>.
Returns True if the computation was done successfully,
False otherwise.

Standard_EXPORT void Set (const Standard_Real Param)
 Sets the value of the parameter along the guide line.
This determines the plane in which the solution has
to be found.
.
Standard_EXPORT void Set (const Standard_Real First, const Standard_Real Last)
 Sets the bounds of the parametric interval on
the guide line.
This determines the derivatives in these values if the
function is not Cn.
.
Standard_EXPORT void GetTolerance (math_Vector &Tolerance, const Standard_Real Tol) const
 Returns in the vector Tolerance the parametric tolerance
for each of the 4 variables;
Tol is the tolerance used in 3d space.
.
Standard_EXPORT void GetBounds (math_Vector &InfBound, math_Vector &SupBound) const
 Returns in the vector InfBound the lowest values allowed
for each of the 4 variables.
Returns in the vector SupBound the greatest values allowed
for each of the 4 variables.
.
Standard_EXPORT Standard_Boolean IsSolution (const math_Vector &Sol, const Standard_Real Tol)
 Returns Standard_True if Sol is a zero of the function.
Tol is the tolerance used in 3d space.
The computation is made at the current value of
the parameter on the guide line.
.
Standard_EXPORT Standard_Real GetMinimalDistance () const
 Returns the minimal Distance beetween two
extremitys of calculed sections.
.
Standard_EXPORT const gp_Pnt & PointOnS1 () const
 Returns the point on the first surface, at parameter
Sol(1),Sol(2) (Sol is the vector used in the call of
IsSolution.
.
Standard_EXPORT const gp_Pnt & PointOnS2 () const
 Returns the point on the second surface, at parameter
Sol(3),Sol(4) (Sol is the vector used in the call of
IsSolution.
.
Standard_EXPORT Standard_Boolean IsTangencyPoint () const
 Returns True when it is not possible to compute
the tangent vectors at PointOnS1 and/or PointOnS2.
.
Standard_EXPORT const gp_Vec & TangentOnS1 () const
 Returns the tangent vector at PointOnS1, in 3d space.
.
Standard_EXPORT const gp_Vec2d & Tangent2dOnS1 () const
 Returns the tangent vector at PointOnS1, in the
parametric space of the first surface.
.
Standard_EXPORT const gp_Vec & TangentOnS2 () const
 Returns the tangent vector at PointOnS2, in 3d space.
.
Standard_EXPORT const gp_Vec2d & Tangent2dOnS2 () const
 Returns the tangent vector at PointOnS2, in the
parametric space of the second surface.
.
Standard_EXPORT void Tangent (const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, gp_Vec &TgFirst, gp_Vec &TgLast, gp_Vec &NormFirst, gp_Vec &NormLast) const
 Returns the tangent vector at the section,
at the beginning and the end of the section, and
returns the normal (of the surfaces) at
these points.
.
virtual Standard_EXPORT Standard_Boolean TwistOnS1 () const
virtual Standard_EXPORT Standard_Boolean TwistOnS2 () const
Standard_EXPORT void Set (const Standard_Real Radius, const Standard_Integer Choix)
Standard_EXPORT void Set (const BlendFunc_SectionShape TypeSection)
Standard_EXPORT void Section (const Standard_Real Param, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, Standard_Real &Pdeb, Standard_Real &Pfin, gp_Circ &C)
Standard_EXPORT Standard_Boolean IsRational () const
 Returns if the section is rationnal
.
Standard_EXPORT Standard_Real GetSectionSize () const
 Returns the length of the maximum section
.
Standard_EXPORT void GetMinimalWeight (TColStd_Array1OfReal &Weigths) const
 Compute the minimal value of weight for each poles
of all sections.
.
Standard_EXPORT Standard_Integer NbIntervals (const GeomAbs_Shape S) const
 Returns the number of intervals for continuity
<s>. May be one if Continuity(me) >= <s>
.
Standard_EXPORT void Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
 Stores in <t> the parameters bounding the intervals
of continuity <s>.

The array must provide enough room to accomodate
for the parameters. i.e. T.Length() > NbIntervals()
raises
OutOfRange from Standard
.
Standard_EXPORT void GetShape (Standard_Integer &NbPoles, Standard_Integer &NbKnots, Standard_Integer &Degree, Standard_Integer &NbPoles2d)
Standard_EXPORT void GetTolerance (const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, math_Vector &Tol3d, math_Vector &Tol1D) const
 Returns the tolerance to reach in approximation
to respecte
BoundTol error at the Boundary
AngleTol tangent error at the Boundary
SurfTol error inside the surface.
.
Standard_EXPORT void Knots (TColStd_Array1OfReal &TKnots)
Standard_EXPORT void Mults (TColStd_Array1OfInteger &TMults)
virtual Standard_EXPORT Standard_Boolean Section (const Blend_Point &P, TColgp_Array1OfPnt &Poles, TColgp_Array1OfVec &DPoles, TColgp_Array1OfVec &D2Poles, TColgp_Array1OfPnt2d &Poles2d, TColgp_Array1OfVec2d &DPoles2d, TColgp_Array1OfVec2d &D2Poles2d, TColStd_Array1OfReal &Weigths, TColStd_Array1OfReal &DWeigths, TColStd_Array1OfReal &D2Weigths)
 Used for the first and last section
The method returns Standard_True if the derivatives
are computed, otherwise it returns Standard_False
.
virtual Standard_EXPORT Standard_Boolean Section (const Blend_Point &P, TColgp_Array1OfPnt &Poles, TColgp_Array1OfVec &DPoles, TColgp_Array1OfPnt2d &Poles2d, TColgp_Array1OfVec2d &DPoles2d, TColStd_Array1OfReal &Weigths, TColStd_Array1OfReal &DWeigths)
 Used for the first and last section
The method returns Standard_True if the derivatives
are computed, otherwise it returns Standard_False.
.
Standard_EXPORT void Section (const Blend_Point &P, TColgp_Array1OfPnt &Poles, TColgp_Array1OfPnt2d &Poles2d, TColStd_Array1OfReal &Weigths)
Standard_EXPORT gp_Ax1 AxeRot (const Standard_Real Prm)
Standard_EXPORT void Resolution (const Standard_Integer IC2d, const Standard_Real Tol, Standard_Real &TolU, Standard_Real &TolV) const

Private Member Functions

Standard_EXPORT Standard_Boolean ComputeValues (const math_Vector &X, const Standard_Integer Order, const Standard_Boolean ByParam=Standard_False, const Standard_Real Param=0)

Private Attributes

Handle_Adaptor3d_HSurface surf1
Handle_Adaptor3d_HSurface surf2
Handle_Adaptor3d_HCurve curv
Handle_Adaptor3d_HCurve tcurv
gp_Pnt pts1
gp_Pnt pts2
Standard_Boolean istangent
gp_Vec tg1
gp_Vec2d tg12d
gp_Vec tg2
gp_Vec2d tg22d
Standard_Real param
Standard_Real ray1
Standard_Real ray2
Standard_Integer choix
Standard_Integer myXOrder
Standard_Integer myTOrder
math_Vector xval
Standard_Real tval
gp_Vec d1u1
gp_Vec d1u2
gp_Vec d1v1
gp_Vec d1v2
gp_Vec d2u1
gp_Vec d2v1
gp_Vec d2uv1
gp_Vec d2u2
gp_Vec d2v2
gp_Vec d2uv2
gp_Vec dn1w
gp_Vec dn2w
gp_Vec d2n1w
gp_Vec d2n2w
gp_Vec nplan
gp_Vec nsurf1
gp_Vec dns1u1
gp_Vec dns1u2
gp_Vec dns1v1
gp_Vec dns1v2
gp_Vec nsurf2
gp_Vec dnplan
gp_Vec d2nplan
gp_Vec dnsurf1
gp_Vec dnsurf2
gp_Vec dndu1
gp_Vec dndu2
gp_Vec dndv1
gp_Vec dndv2
gp_Vec d2ndu1
gp_Vec d2ndu2
gp_Vec d2ndv1
gp_Vec d2ndv2
gp_Vec d2nduv1
gp_Vec d2nduv2
gp_Vec d2ndtu1
gp_Vec d2ndtu2
gp_Vec d2ndtv1
gp_Vec d2ndtv2
math_Vector E
math_Matrix DEDX
math_Vector DEDT
BlendFunc_Tensor D2EDX2
math_Matrix D2EDXDT
math_Vector D2EDT2
Standard_Real maxang
Standard_Real minang
Standard_Real distmin
BlendFunc_SectionShape mySShape
Convert_ParameterisationType myTConv

Constructor & Destructor Documentation

Standard_EXPORT BRepBlend_ConstRad::BRepBlend_ConstRad const Handle(Adaptor3d_HSurface)&  S1,
const Handle(Adaptor3d_HSurface)&  S2,
const Handle(Adaptor3d_HCurve)&  C
 


Member Function Documentation

Standard_EXPORT gp_Ax1 BRepBlend_ConstRad::AxeRot const Standard_Real  Prm  ) 
 

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::ComputeValues const math_Vector &  X,
const Standard_Integer  Order,
const Standard_Boolean  ByParam = Standard_False,
const Standard_Real  Param = 0
[private]
 

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::Derivatives const math_Vector &  X,
math_Matrix &  D
[virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::GetBounds math_Vector &  InfBound,
math_Vector &  SupBound
const [virtual]
 

Implements Blend_Function.

Standard_EXPORT Standard_Real BRepBlend_ConstRad::GetMinimalDistance  )  const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT void BRepBlend_ConstRad::GetMinimalWeight TColStd_Array1OfReal &  Weigths  )  const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT Standard_Real BRepBlend_ConstRad::GetSectionSize  )  const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT void BRepBlend_ConstRad::GetShape Standard_Integer &  NbPoles,
Standard_Integer &  NbKnots,
Standard_Integer &  Degree,
Standard_Integer &  NbPoles2d
[virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::GetTolerance const Standard_Real  BoundTol,
const Standard_Real  SurfTol,
const Standard_Real  AngleTol,
math_Vector &  Tol3d,
math_Vector &  Tol1D
const [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::GetTolerance math_Vector &  Tolerance,
const Standard_Real  Tol
const [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Intervals TColStd_Array1OfReal &  T,
const GeomAbs_Shape  S
const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::IsRational  )  const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::IsSolution const math_Vector &  Sol,
const Standard_Real  Tol
[virtual]
 

Implements Blend_Function.

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::IsTangencyPoint  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Knots TColStd_Array1OfReal &  TKnots  )  [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Mults TColStd_Array1OfInteger &  TMults  )  [virtual]
 

Implements Blend_Function.

Standard_EXPORT Standard_Integer BRepBlend_ConstRad::NbEquations  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT Standard_Integer BRepBlend_ConstRad::NbIntervals const GeomAbs_Shape  S  )  const [virtual]
 

Implements Blend_AppFunction.

void BRepBlend_ConstRad::operator delete void *  anAddress  )  [inline]
 

Reimplemented from Blend_Function.

void* BRepBlend_ConstRad::operator new size_t  size  )  [inline]
 

Reimplemented from Blend_Function.

void* BRepBlend_ConstRad::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from Blend_Function.

Standard_EXPORT const gp_Pnt& BRepBlend_ConstRad::PointOnS1  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT const gp_Pnt& BRepBlend_ConstRad::PointOnS2  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Resolution const Standard_Integer  IC2d,
const Standard_Real  Tol,
Standard_Real &  TolU,
Standard_Real &  TolV
const [virtual]
 

Implements Blend_AppFunction.

Standard_EXPORT void BRepBlend_ConstRad::Section const Blend_Point P,
TColgp_Array1OfPnt &  Poles,
TColgp_Array1OfPnt2d &  Poles2d,
TColStd_Array1OfReal &  Weigths
[virtual]
 

Implements Blend_Function.

virtual Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::Section const Blend_Point P,
TColgp_Array1OfPnt &  Poles,
TColgp_Array1OfVec &  DPoles,
TColgp_Array1OfPnt2d &  Poles2d,
TColgp_Array1OfVec2d &  DPoles2d,
TColStd_Array1OfReal &  Weigths,
TColStd_Array1OfReal &  DWeigths
[virtual]
 

Implements Blend_Function.

virtual Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::Section const Blend_Point P,
TColgp_Array1OfPnt &  Poles,
TColgp_Array1OfVec &  DPoles,
TColgp_Array1OfVec &  D2Poles,
TColgp_Array1OfPnt2d &  Poles2d,
TColgp_Array1OfVec2d &  DPoles2d,
TColgp_Array1OfVec2d &  D2Poles2d,
TColStd_Array1OfReal &  Weigths,
TColStd_Array1OfReal &  DWeigths,
TColStd_Array1OfReal &  D2Weigths
[virtual]
 

Reimplemented from Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Section const Standard_Real  Param,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2,
Standard_Real &  Pdeb,
Standard_Real &  Pfin,
gp_Circ &  C
 

Standard_EXPORT void BRepBlend_ConstRad::Set const BlendFunc_SectionShape  TypeSection  ) 
 

Standard_EXPORT void BRepBlend_ConstRad::Set const Standard_Real  Radius,
const Standard_Integer  Choix
 

Standard_EXPORT void BRepBlend_ConstRad::Set const Standard_Real  First,
const Standard_Real  Last
[virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Set const Standard_Real  Param  )  [virtual]
 

Implements Blend_Function.

Standard_EXPORT void BRepBlend_ConstRad::Tangent const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2,
gp_Vec &  TgFirst,
gp_Vec &  TgLast,
gp_Vec &  NormFirst,
gp_Vec &  NormLast
const [virtual]
 

Implements Blend_Function.

Standard_EXPORT const gp_Vec2d& BRepBlend_ConstRad::Tangent2dOnS1  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT const gp_Vec2d& BRepBlend_ConstRad::Tangent2dOnS2  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT const gp_Vec& BRepBlend_ConstRad::TangentOnS1  )  const [virtual]
 

Implements Blend_Function.

Standard_EXPORT const gp_Vec& BRepBlend_ConstRad::TangentOnS2  )  const [virtual]
 

Implements Blend_Function.

virtual Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::TwistOnS1  )  const [virtual]
 

Reimplemented from Blend_Function.

virtual Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::TwistOnS2  )  const [virtual]
 

Reimplemented from Blend_Function.

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::Value const math_Vector &  X,
math_Vector &  F
[virtual]
 

Implements Blend_Function.

Standard_EXPORT Standard_Boolean BRepBlend_ConstRad::Values const math_Vector &  X,
math_Vector &  F,
math_Matrix &  D
[virtual]
 

Implements Blend_Function.


Field Documentation

Standard_Integer BRepBlend_ConstRad::choix [private]
 

Handle_Adaptor3d_HCurve BRepBlend_ConstRad::curv [private]
 

gp_Vec BRepBlend_ConstRad::d1u1 [private]
 

gp_Vec BRepBlend_ConstRad::d1u2 [private]
 

gp_Vec BRepBlend_ConstRad::d1v1 [private]
 

gp_Vec BRepBlend_ConstRad::d1v2 [private]
 

math_Vector BRepBlend_ConstRad::D2EDT2 [private]
 

BlendFunc_Tensor BRepBlend_ConstRad::D2EDX2 [private]
 

math_Matrix BRepBlend_ConstRad::D2EDXDT [private]
 

gp_Vec BRepBlend_ConstRad::d2n1w [private]
 

gp_Vec BRepBlend_ConstRad::d2n2w [private]
 

gp_Vec BRepBlend_ConstRad::d2ndtu1 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndtu2 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndtv1 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndtv2 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndu1 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndu2 [private]
 

gp_Vec BRepBlend_ConstRad::d2nduv1 [private]
 

gp_Vec BRepBlend_ConstRad::d2nduv2 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndv1 [private]
 

gp_Vec BRepBlend_ConstRad::d2ndv2 [private]
 

gp_Vec BRepBlend_ConstRad::d2nplan [private]
 

gp_Vec BRepBlend_ConstRad::d2u1 [private]
 

gp_Vec BRepBlend_ConstRad::d2u2 [private]
 

gp_Vec BRepBlend_ConstRad::d2uv1 [private]
 

gp_Vec BRepBlend_ConstRad::d2uv2 [private]
 

gp_Vec BRepBlend_ConstRad::d2v1 [private]
 

gp_Vec BRepBlend_ConstRad::d2v2 [private]
 

math_Vector BRepBlend_ConstRad::DEDT [private]
 

math_Matrix BRepBlend_ConstRad::DEDX [private]
 

Standard_Real BRepBlend_ConstRad::distmin [private]
 

gp_Vec BRepBlend_ConstRad::dn1w [private]
 

gp_Vec BRepBlend_ConstRad::dn2w [private]
 

gp_Vec BRepBlend_ConstRad::dndu1 [private]
 

gp_Vec BRepBlend_ConstRad::dndu2 [private]
 

gp_Vec BRepBlend_ConstRad::dndv1 [private]
 

gp_Vec BRepBlend_ConstRad::dndv2 [private]
 

gp_Vec BRepBlend_ConstRad::dnplan [private]
 

gp_Vec BRepBlend_ConstRad::dns1u1 [private]
 

gp_Vec BRepBlend_ConstRad::dns1u2 [private]
 

gp_Vec BRepBlend_ConstRad::dns1v1 [private]
 

gp_Vec BRepBlend_ConstRad::dns1v2 [private]
 

gp_Vec BRepBlend_ConstRad::dnsurf1 [private]
 

gp_Vec BRepBlend_ConstRad::dnsurf2 [private]
 

math_Vector BRepBlend_ConstRad::E [private]
 

Standard_Boolean BRepBlend_ConstRad::istangent [private]
 

Standard_Real BRepBlend_ConstRad::maxang [private]
 

Standard_Real BRepBlend_ConstRad::minang [private]
 

BlendFunc_SectionShape BRepBlend_ConstRad::mySShape [private]
 

Convert_ParameterisationType BRepBlend_ConstRad::myTConv [private]
 

Standard_Integer BRepBlend_ConstRad::myTOrder [private]
 

Standard_Integer BRepBlend_ConstRad::myXOrder [private]
 

gp_Vec BRepBlend_ConstRad::nplan [private]
 

gp_Vec BRepBlend_ConstRad::nsurf1 [private]
 

gp_Vec BRepBlend_ConstRad::nsurf2 [private]
 

Standard_Real BRepBlend_ConstRad::param [private]
 

gp_Pnt BRepBlend_ConstRad::pts1 [private]
 

gp_Pnt BRepBlend_ConstRad::pts2 [private]
 

Standard_Real BRepBlend_ConstRad::ray1 [private]
 

Standard_Real BRepBlend_ConstRad::ray2 [private]
 

Handle_Adaptor3d_HSurface BRepBlend_ConstRad::surf1 [private]
 

Handle_Adaptor3d_HSurface BRepBlend_ConstRad::surf2 [private]
 

Handle_Adaptor3d_HCurve BRepBlend_ConstRad::tcurv [private]
 

gp_Vec BRepBlend_ConstRad::tg1 [private]
 

gp_Vec2d BRepBlend_ConstRad::tg12d [private]
 

gp_Vec BRepBlend_ConstRad::tg2 [private]
 

gp_Vec2d BRepBlend_ConstRad::tg22d [private]
 

Standard_Real BRepBlend_ConstRad::tval [private]
 

math_Vector BRepBlend_ConstRad::xval [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:57 2008 for OpenCASCADE by  doxygen 1.4.1