#include <GEOMUtils_Hatcher.hxx>
Public Member Functions | |
| Standard_EXPORT | Hatcher (const TopoDS_Face &theFace) | 
| Constructor.  More... | |
| Standard_EXPORT void | Init (const Standard_Integer theNbIsos) | 
| This method initializes the hatcher with hatchings.  More... | |
| Standard_EXPORT void | Init (const Standard_Integer theNbIsoU, const Standard_Integer theNbIsoV) | 
| This method initializes the hatcher with hatchings.  More... | |
| Standard_EXPORT void | Init (const GeomAbs_IsoType theIsoType, const Standard_Real theParameter) | 
| This method initializes the hatcher with a hatching.  More... | |
| Standard_EXPORT void | Perform () | 
| Compute hatching domatins.  More... | |
| Standard_Boolean | IsDone () const | 
| This method returns true if at least one hatching's domains are computed successfully.  More... | |
| const TopoDS_Face & | GetFace () const | 
| This method returns the initial face.  More... | |
| Standard_EXPORT Standard_Integer | GetNbDomains (const Standard_Integer theHatchingIndex) const | 
| This method returns the number of domains for a particular hatching.  More... | |
| Standard_EXPORT Standard_Boolean | GetDomain (const Standard_Integer theHatchingIndex, const Standard_Integer theDomainIndex, Standard_Real &theParam1, Standard_Real &theParam2) const | 
| This method returns the domputed domain range computed for a particular hatching.  More... | |
| Standard_EXPORT Standard_Boolean | IsDomainInfinite (const Standard_Integer theHatchingIndex, const Standard_Integer theDomainIndex) const | 
| This method returns Standard_True if a domain has infinite first or last parameter.  More... | |
| Standard_EXPORT const  Geom2dHatch_Hatcher &  | GetHatcher () const | 
| This method returns the reference to OCCT hatcher.  More... | |
| Standard_EXPORT const | Handle (TColStd_HArray1OfInteger)&GetUIndices() const | 
| This method returns the array of indices of U-isoline hatchings.  More... | |
| Standard_EXPORT const | Handle (TColStd_HArray1OfInteger)&GetVIndices() const | 
| This method returns the array of indices of V-isoline hatchings.  More... | |
| Standard_EXPORT const | Handle (TColStd_HArray1OfReal)&GetUParams() const | 
| This method returns the array of parameters of U-isoline hatchings.  More... | |
| Standard_EXPORT const | Handle (TColStd_HArray1OfReal)&GetVParams() const | 
| This method returns the array of parameters of V-isoline hatchings.  More... | |
| Standard_EXPORT const | Handle (Geom2d_Curve)&GetHatching(const Standard_Integer theHatchingIndex) const | 
| This method returns a hatching curve by its index.  More... | |
Protected Member Functions | |
| void | Clear () | 
| This method clears all hatchings data.  More... | |
Private Member Functions | |
| Handle (TColStd_HArray1OfReal) myUPrm | |
| Handle (TColStd_HArray1OfReal) myVPrm | |
| Handle (TColStd_HArray1OfInteger) myUInd | |
| Handle (TColStd_HArray1OfInteger) myVInd | |
Private Attributes | |
| Geom2dHatch_Hatcher | myHatcher | 
| TopoDS_Face | myFace | 
| Standard_Boolean | myIsDone | 
| Standard_Real | myUMin | 
| Standard_Real | myUMax | 
| Standard_Real | myVMin | 
| Standard_Real | myVMax | 
| GEOMUtils::Hatcher::Hatcher | ( | const TopoDS_Face & | theFace | ) | 
      
  | 
  protected | 
| Standard_Boolean GEOMUtils::Hatcher::GetDomain | ( | const Standard_Integer | theHatchingIndex, | 
| const Standard_Integer | theDomainIndex, | ||
| Standard_Real & | theParam1, | ||
| Standard_Real & | theParam2 | ||
| ) | const | 
theDomainIndex should be in the range [1..GetNbDomains].
| theHatchingIndex | the hatching index. | 
| theDomainIndex | the domain index for the particular hatching. | 
| theParam1 | (output) the first parameter of the domain. | 
| theParam2 | (output) the last parameter of the domain. | 
References InfiniteValue.
      
  | 
  inline | 
References myFace.
      
  | 
  inline | 
References myHatcher.
| Standard_Integer GEOMUtils::Hatcher::GetNbDomains | ( | const Standard_Integer | theHatchingIndex | ) | const | 
If the operation is not done or there is no real hatching for a particular index a negative value is returned.
| theHatchingIndex | the hatching index. | 
References aResult.
      
  | 
  inline | 
Can be null if the object is initialized by 0 U-isolines.
      
  | 
  inline | 
Can be null if the object is initialized by 0 V-isolines.
      
  | 
  inline | 
Can be null if the object is initialized by 0 U-isolines.
      
  | 
  inline | 
Can be null if the object is initialized by 0 V-isolines.
| Standard_EXPORT const GEOMUtils::Hatcher::Handle | ( | Geom2d_Curve | ) | const | 
If the curve is not found null handle is returned.
| theHatchingIndex | the hatching curve index. | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| void GEOMUtils::Hatcher::Init | ( | const Standard_Integer | theNbIsos | ) | 
| theNbIsos | the number of U- and V-isolines. | 
| void GEOMUtils::Hatcher::Init | ( | const Standard_Integer | theNbIsoU, | 
| const Standard_Integer | theNbIsoV | ||
| ) | 
| theNbIsoU | the number of U-isolines. | 
| theNbIsoV | the number of V-isolines. | 
| void GEOMUtils::Hatcher::Init | ( | const GeomAbs_IsoType | theIsoType, | 
| const Standard_Real | theParameter | ||
| ) | 
| theIsoType | the isoline type. | 
| theParameter | the isoline parameter. | 
References Handle().
| Standard_Boolean GEOMUtils::Hatcher::IsDomainInfinite | ( | const Standard_Integer | theHatchingIndex, | 
| const Standard_Integer | theDomainIndex | ||
| ) | const | 
| theHatchingIndex | the hatching index. | 
| theDomainIndex | the domain index for the particular hatching. | 
      
  | 
  inline | 
References myIsDone.
| void GEOMUtils::Hatcher::Perform | ( | ) | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |