Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
ChFiDS_Spine Class Reference

Contains information necessary for construction of
a 3D fillet :


More...

#include <ChFiDS_Spine.hxx>

Inheritance diagram for ChFiDS_Spine:
Inheritance graph
[legend]

Public Member Functions

 ChFiDS_Spine ()
 ChFiDS_Spine (const Standard_Real Tol)
void SetEdges (const TopoDS_Edge &E)
 store edges composing the guideline

void PutInFirst (const TopoDS_Edge &E)
 store the edge at the first position before all others

Standard_Integer NbEdges () const
const TopoDS_EdgeEdges (const Standard_Integer I) const
void SetFirstStatus (const ChFiDS_State S)
 stores if the start of a set of edges starts on a
section of free border or forms a closed contour

void SetLastStatus (const ChFiDS_State S)
 stores if the end of a set of edges starts on a
section of free border or forms a closed contour

virtual void AppendElSpine (const Handle< ChFiDS_HElSpine > &Els)
Handle_ChFiDS_HElSpine ElSpine (const Standard_Integer IE) const
Handle_ChFiDS_HElSpine ElSpine (const TopoDS_Edge &E) const
Handle_ChFiDS_HElSpine ElSpine (const Standard_Real W) const
ChFiDS_ListOfHElSpineChangeElSpines ()
virtual void Reset (const Standard_Boolean AllData=Standard_False)
Standard_Boolean SplitDone () const
void SplitDone (const Standard_Boolean B)
void Load ()
 prepare the guideline depending on the edges that
are elementary arks (take parameters from
a single curvilinear abscissa); to be able to call
methods on the geometry (first,last,value,d1,d2)
it is necessary to start with preparation otherwise an
exception will be raised

Standard_Real Resolution (const Standard_Real R3d) const
Standard_Boolean IsClosed () const
Standard_Real FirstParameter () const
Standard_Real LastParameter () const
void SetFirstParameter (const Standard_Real Par)
void SetLastParameter (const Standard_Real Par)
Standard_Real FirstParameter (const Standard_Integer IndexSpine) const
 gives the total length of all arcs before the
number IndexSp

Standard_Real LastParameter (const Standard_Integer IndexSpine) const
 gives the total length till the ark with number
IndexSpine (inclus)

Standard_Real Length (const Standard_Integer IndexSpine) const
 gives the length of ark with number IndexSp

Standard_Boolean IsPeriodic () const
Standard_Real Period () const
Standard_Real Absc (const Standard_Real U)
Standard_Real Absc (const Standard_Real U, const Standard_Integer I)
void Parameter (const Standard_Real AbsC, Standard_Real &U, const Standard_Boolean Oriented=Standard_True)
void Parameter (const Standard_Integer Index, const Standard_Real AbsC, Standard_Real &U, const Standard_Boolean Oriented=Standard_True)
gp_Pnt Value (const Standard_Real AbsC)
void D0 (const Standard_Real AbsC, gp_Pnt &P)
void D1 (const Standard_Real AbsC, gp_Pnt &P, gp_Vec &V1)
void D2 (const Standard_Real AbsC, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2)
void SetCurrent (const Standard_Integer Index)
const BRepAdaptor_CurveCurrentElementarySpine (const Standard_Integer Index)
 sets the current curve and returns it

Standard_Integer CurrentIndexOfElementarySpine () const
GeomAbs_CurveType GetType () const
gp_Lin Line () const
gp_Circ Circle () const
ChFiDS_State FirstStatus () const
 returns if the set of edges starts on a free boundary
or if the first vertex is a breakpoint or if the set is
closed

ChFiDS_State LastStatus () const
 returns the state at the end of the set

ChFiDS_State Status (const Standard_Boolean IsFirst) const
void SetStatus (const ChFiDS_State S, const Standard_Boolean IsFirst)
Standard_Boolean IsTangencyExtremity (const Standard_Boolean IsFirst) const
 returns if the set of edges starts (or end) on
Tangency point.

void SetTangencyExtremity (const Standard_Boolean IsTangency, const Standard_Boolean IsFirst)
Standard_Real Absc (const TopoDS_Vertex &V) const
TopoDS_Vertex FirstVertex () const
TopoDS_Vertex LastVertex () const
void SetFirstTgt (const Standard_Real W)
void SetLastTgt (const Standard_Real W)
Standard_Boolean HasFirstTgt () const
Standard_Boolean HasLastTgt () const
void SetReference (const Standard_Real W)
 set a parameter reference for the approx.

void SetReference (const Standard_Integer I)
 set a parameter reference for the approx, at the
middle of edge I.

Standard_Integer Index (const Standard_Real W, const Standard_Boolean Forward=Standard_True) const
Standard_Integer Index (const TopoDS_Edge &E) const
void UnsetReference ()
void SetErrorStatus (const ChFiDS_ErrorStatus state)
ChFiDS_ErrorStatus ErrorStatus () const

Protected Attributes

Standard_Boolean splitdone
ChFiDS_ListOfHElSpine elspines

Detailed Description

     - guideline composed of edges of the solid, tangents <br>
     between them, and borders by faces tangents <br>
     between them. <br>


Tools for construction of the Sp
by propagation from an edge of solid
are provided in the Builder of Fil3d.

The Spine contains among others the
information about the nature of extremities
of the fillet ( on free border , on section or closed ).

IMPORTANT NOTE : the guideline
represented in this way is not C2, although the path
claims it. Several palliative workarounds
(see the methods at the end) are planned,
but they are not enough. It is necessary to change
the approach and double the Spine of line C2 with
the known consequences for management of
interactions between KPart Blend in Fil3d.


Constructor & Destructor Documentation


Member Function Documentation

virtual void ChFiDS_Spine::AppendElSpine ( const Handle< ChFiDS_HElSpine > &  Els) [virtual]

Reimplemented in ChFiDS_FilSpine.

void ChFiDS_Spine::D1 ( const Standard_Real  AbsC,
gp_Pnt P,
gp_Vec V1 
)
void ChFiDS_Spine::D2 ( const Standard_Real  AbsC,
gp_Pnt P,
gp_Vec V1,
gp_Vec V2 
)
Handle_ChFiDS_HElSpine ChFiDS_Spine::ElSpine ( const Standard_Integer  IE) const
Handle_ChFiDS_HElSpine ChFiDS_Spine::ElSpine ( const TopoDS_Edge E) const
Handle_ChFiDS_HElSpine ChFiDS_Spine::ElSpine ( const Standard_Real  W) const
virtual void ChFiDS_Spine::Reset ( const Standard_Boolean  AllData = Standard_False) [virtual]

Reimplemented in ChFiDS_FilSpine.


Field Documentation


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