Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-25 09:21:32

0001 // Created on : Thu Mar 24 18:30:12 2022
0002 // Created by: snn
0003 // Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0
0004 // Copyright (c) Open CASCADE 2022
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepVisual_TessellatedVertex_HeaderFile_
0018 #define _StepVisual_TessellatedVertex_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedStructuredItem.hxx>
0023 
0024 #include <StepVisual_CoordinatesList.hxx>
0025 #include <StepShape_VertexPoint.hxx>
0026 
0027 //! Representation of STEP entity TessellatedVertex
0028 class StepVisual_TessellatedVertex : public StepVisual_TessellatedStructuredItem
0029 {
0030 
0031 public:
0032   //! default constructor
0033   Standard_EXPORT StepVisual_TessellatedVertex();
0034 
0035   //! Initialize all fields (own and inherited)
0036   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theRepresentationItem_Name,
0037                             const occ::handle<StepVisual_CoordinatesList>& theCoordinates,
0038                             const bool                                     theHasTopologicalLink,
0039                             const occ::handle<StepShape_VertexPoint>&      theTopologicalLink,
0040                             const int                                      thePointIndex);
0041 
0042   //! Returns field Coordinates
0043   Standard_EXPORT occ::handle<StepVisual_CoordinatesList> Coordinates() const;
0044 
0045   //! Sets field Coordinates
0046   Standard_EXPORT void SetCoordinates(
0047     const occ::handle<StepVisual_CoordinatesList>& theCoordinates);
0048 
0049   //! Returns field TopologicalLink
0050   Standard_EXPORT occ::handle<StepShape_VertexPoint> TopologicalLink() const;
0051 
0052   //! Sets field TopologicalLink
0053   Standard_EXPORT void SetTopologicalLink(
0054     const occ::handle<StepShape_VertexPoint>& theTopologicalLink);
0055 
0056   //! Returns True if optional field TopologicalLink is defined
0057   Standard_EXPORT bool HasTopologicalLink() const;
0058 
0059   //! Returns field PointIndex
0060   Standard_EXPORT int PointIndex() const;
0061 
0062   //! Sets field PointIndex
0063   Standard_EXPORT void SetPointIndex(const int thePointIndex);
0064 
0065   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedVertex, StepVisual_TessellatedStructuredItem)
0066 
0067 private:
0068   occ::handle<StepVisual_CoordinatesList> myCoordinates;
0069   occ::handle<StepShape_VertexPoint>      myTopologicalLink; //!< optional
0070   int                                     myPointIndex;
0071   bool myHasTopologicalLink; //!< flag "is TopologicalLink defined"
0072 };
0073 
0074 #endif // _StepVisual_TessellatedVertex_HeaderFile_