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

ModelingAlgorithms
TKBool
BRepFill


BRepFill_LocationLaw Class Reference

Location Law on a Wire.
.

#include <BRepFill_LocationLaw.hxx>

Inheritance diagram for BRepFill_LocationLaw:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT GeomFill_PipeError GetStatus () const
 Return a error status, if the status is not PipeOk then
it exist a parameter tlike the law is not valuable for t.
.
virtual Standard_EXPORT void TransformInG0Law ()
 Apply a linear transformation on each law, to have
continuity of the global law beetween the edges.
.
virtual Standard_EXPORT void TransformInCompatibleLaw (const Standard_Real AngularTolerance)
 Apply a linear transformation on each law, to reduce
the dicontinuities of law at one rotation.
.
Standard_EXPORT void DeleteTransform ()
Standard_EXPORT Standard_Integer NbHoles (const Standard_Real Tol=1.0e-7)
Standard_EXPORT void Holes (TColStd_Array1OfInteger &Interval) const
Standard_EXPORT Standard_Integer NbLaw () const
 Return the number of elementary Law
.
Standard_EXPORT const Handle_GeomFill_LocationLaw & Law (const Standard_Integer Index) const
 Return the elementary Law of rank <index>
<index> have to be in [1, NbLaw()]
.
Standard_EXPORT const TopoDS_Wire & Wire () const
 return the path

Standard_EXPORT const TopoDS_Edge & Edge (const Standard_Integer Index) const
 Return the Edge of rank <index> in the path
<index> have to be in [1, NbLaw()]
.
Standard_EXPORT TopoDS_Vertex Vertex (const Standard_Integer Index) const
 Return the vertex of rank <index> in the path
<index> have to be in [0, NbLaw()]
.
Standard_EXPORT void PerformVertex (const Standard_Integer Index, const TopoDS_Vertex &InputVertex, const Standard_Real TolMin, TopoDS_Vertex &OutputVertex, const Standard_Integer Location=0) const
 Compute <outputvertex> like a transformation of
<inputvertex> the transformation is given by
evaluation of the location law in the vertex of
rank <index>.
<location> is used to manage discontinuities :
- -1 : The law before the vertex is used.
- 1 : The law after the vertex is used.
- 0 : Average of the both laws is used.
.
Standard_EXPORT void CurvilinearBounds (const Standard_Integer Index, Standard_Real &First, Standard_Real &Last) const
 Return the Curvilinear Bounds of the <index> Law
.
Standard_EXPORT Standard_Boolean IsClosed () const
Standard_EXPORT Standard_Integer IsG1 (const Standard_Integer Index, const Standard_Real SpatialTolerance=1.0e-7, const Standard_Real AngularTolerance=1.0e-4) const
 Compute the Law's continuity beetween 2 edges of the path
The result can be :
-1 : Case Not connex
0 : It is connex (G0)
1 : It is tangent (G1)
.
Standard_EXPORT void D0 (const Standard_Real Abscissa, TopoDS_Shape &Section)
 Apply the Law to a shape, for a given Curnilinear abscissa
.
Standard_EXPORT void Parameter (const Standard_Real Abscissa, Standard_Integer &Index, Standard_Real &Param)
 Find the index Law and the parmaeter, for a given
Curnilinear abscissa
.
Standard_EXPORT Standard_Real Abscissa (const Standard_Integer Index, const Standard_Real Param)
 Return the curvilinear abscissa corresponding to a point
of the path, defined by <index> of Edge and a
parameter on the edge.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT void Init (const TopoDS_Wire &Path)
 Initialize all the fields, this methode have to
be called by the constructors of Inherited class.
.
Standard_EXPORT void TangentIsMain ()
 To preseve if possible the Tangent in transformations
It is the default mode.
.
Standard_EXPORT void NormalIsMain ()
 To preseve if possible the Normal in transformations
.
Standard_EXPORT void BiNormalIsMain ()
 To preseve if possible the BiNormal in transformations
.

Protected Attributes

TopoDS_Wire myPath
Standard_Real myTol
Handle_GeomFill_HArray1OfLocationLaw myLaws
Handle_TColStd_HArray1OfReal myLength
Handle_TopTools_HArray1OfShape myEdges
Handle_TColStd_HArray1OfInteger myDisc

Private Attributes

Standard_Integer myType

Member Function Documentation

Standard_EXPORT Standard_Real BRepFill_LocationLaw::Abscissa const Standard_Integer  Index,
const Standard_Real  Param
 

Standard_EXPORT void BRepFill_LocationLaw::BiNormalIsMain  )  [protected]
 

Standard_EXPORT void BRepFill_LocationLaw::CurvilinearBounds const Standard_Integer  Index,
Standard_Real &  First,
Standard_Real &  Last
const
 

Standard_EXPORT void BRepFill_LocationLaw::D0 const Standard_Real  Abscissa,
TopoDS_Shape &  Section
 

Standard_EXPORT void BRepFill_LocationLaw::DeleteTransform  ) 
 

Standard_EXPORT const TopoDS_Edge& BRepFill_LocationLaw::Edge const Standard_Integer  Index  )  const
 

Standard_EXPORT GeomFill_PipeError BRepFill_LocationLaw::GetStatus  )  const
 

Standard_EXPORT const BRepFill_LocationLaw::Handle Standard_Type   )  const
 

Reimplemented in BRepFill_ACRLaw, BRepFill_DraftLaw, BRepFill_Edge3DLaw, and BRepFill_EdgeOnSurfLaw.

Standard_EXPORT void BRepFill_LocationLaw::Holes TColStd_Array1OfInteger &  Interval  )  const
 

Standard_EXPORT void BRepFill_LocationLaw::Init const TopoDS_Wire &  Path  )  [protected]
 

Standard_EXPORT Standard_Boolean BRepFill_LocationLaw::IsClosed  )  const
 

Standard_EXPORT Standard_Integer BRepFill_LocationLaw::IsG1 const Standard_Integer  Index,
const Standard_Real  SpatialTolerance = 1.0e-7,
const Standard_Real  AngularTolerance = 1.0e-4
const
 

Standard_EXPORT const Handle_GeomFill_LocationLaw& BRepFill_LocationLaw::Law const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Integer BRepFill_LocationLaw::NbHoles const Standard_Real  Tol = 1.0e-7  ) 
 

Standard_EXPORT Standard_Integer BRepFill_LocationLaw::NbLaw  )  const
 

Standard_EXPORT void BRepFill_LocationLaw::NormalIsMain  )  [protected]
 

Standard_EXPORT void BRepFill_LocationLaw::Parameter const Standard_Real  Abscissa,
Standard_Integer &  Index,
Standard_Real &  Param
 

Standard_EXPORT void BRepFill_LocationLaw::PerformVertex const Standard_Integer  Index,
const TopoDS_Vertex &  InputVertex,
const Standard_Real  TolMin,
TopoDS_Vertex &  OutputVertex,
const Standard_Integer  Location = 0
const
 

Standard_EXPORT void BRepFill_LocationLaw::TangentIsMain  )  [protected]
 

virtual Standard_EXPORT void BRepFill_LocationLaw::TransformInCompatibleLaw const Standard_Real  AngularTolerance  )  [virtual]
 

virtual Standard_EXPORT void BRepFill_LocationLaw::TransformInG0Law  )  [virtual]
 

Standard_EXPORT TopoDS_Vertex BRepFill_LocationLaw::Vertex const Standard_Integer  Index  )  const
 

Standard_EXPORT const TopoDS_Wire& BRepFill_LocationLaw::Wire  )  const
 


Field Documentation

Handle_TColStd_HArray1OfInteger BRepFill_LocationLaw::myDisc [protected]
 

Handle_TopTools_HArray1OfShape BRepFill_LocationLaw::myEdges [protected]
 

Handle_GeomFill_HArray1OfLocationLaw BRepFill_LocationLaw::myLaws [protected]
 

Handle_TColStd_HArray1OfReal BRepFill_LocationLaw::myLength [protected]
 

TopoDS_Wire BRepFill_LocationLaw::myPath [protected]
 

Standard_Real BRepFill_LocationLaw::myTol [protected]
 

Standard_Integer BRepFill_LocationLaw::myType [private]
 


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