Example #1
0
        //--------------------------------------------------------------------------------------------------

        string _GetShapeTypeName(TopAbs_ShapeEnum shapeType)
        {
            switch (shapeType)
            {
            case TopAbs_ShapeEnum.TopAbs_COMPOUND:
                return("Compound");

            case TopAbs_ShapeEnum.TopAbs_COMPSOLID:
                return("CompSolid");

            case TopAbs_ShapeEnum.TopAbs_SOLID:
                return("Solid");

            case TopAbs_ShapeEnum.TopAbs_SHELL:
                return("Shell");

            case TopAbs_ShapeEnum.TopAbs_FACE:
                return("Face");

            case TopAbs_ShapeEnum.TopAbs_WIRE:
                return("Wire");

            case TopAbs_ShapeEnum.TopAbs_EDGE:
                return("Edge");

            case TopAbs_ShapeEnum.TopAbs_VERTEX:
                return("Vertex");

            case TopAbs_ShapeEnum.TopAbs_SHAPE:
                return("Shape");

            default:
                throw new ArgumentOutOfRangeException(nameof(shapeType), shapeType, null);
            }
        }
 public void computeSubshapeSelection(AIS_ColoredDrawer theParentDrawer,
                                      AIS_DataMapOfShapeDrawer theShapeDrawerMap, TopoDS_Shape theShape, StdSelect_BRepOwner theOwner,
                                      SelectMgr_Selection theSelection, TopAbs_ShapeEnum theTypOfSel, int thePriority, double theDeflection,
                                      double theDeflAngle)
 {
     throw new NotImplementedException();
 }
Example #3
0
        //--------------------------------------------------------------------------------------------------

        public static SubshapeTypes GetTypes(TopAbs_ShapeEnum topAbsShapeEnum)
        {
            switch (topAbsShapeEnum)
            {
            case TopAbs_ShapeEnum.TopAbs_FACE:
                return(SubshapeTypes.Face);

            case TopAbs_ShapeEnum.TopAbs_EDGE:
                return(SubshapeTypes.Edge);

            case TopAbs_ShapeEnum.TopAbs_WIRE:
                return(SubshapeTypes.Wire);

            case TopAbs_ShapeEnum.TopAbs_VERTEX:
                return(SubshapeTypes.Vertex);

            default:
                throw new NotImplementedException();
            }
        }
Example #4
0
 public void MakeAncestors(TopoDS_Shape S, TopAbs_ShapeEnum TS, TopAbs_ShapeEnum TA,
                           TopTools_IndexedDataMapOfShapeListOfShape M)
 {
     throw new NotImplementedException();
 }
 public void SetType(TopAbs_ShapeEnum aType)
 {
     throw new NotImplementedException();
 }
Example #6
0
 public bool HasBRep(TopAbs_ShapeEnum theT)
 {
     throw new NotImplementedException();
 }
Example #7
0
 public void Load(SelectMgr_Selection aSelection, SelectMgr_SelectableObject Origin, TopoDS_Shape aShape,
                  TopAbs_ShapeEnum aType, double theDeflection, double theDeviationAngle)
 {
     throw new NotImplementedException();
 }
Example #8
0
 public void Load(SelectMgr_Selection aSelection, TopoDS_Shape aShape, TopAbs_ShapeEnum aType,
                  double theDeflection, double theDeviationAngle, bool AutoTriangulation, int aPriority, int NbPOnEdge,
                  double MaximalParameter)
 {
     throw new NotImplementedException();
 }
 public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind)
     : base()
 {
     throw new NotImplementedException();
 }
Example #10
0
 public bool LimitTolerance(TopoDS_Shape shape, double tmin, double tmax, TopAbs_ShapeEnum styp)
 {
     throw new NotImplementedException();
 }
Example #11
0
 private static bool TopoDS_Mismatch(TopoDS_Shape S, TopAbs_ShapeEnum T)
 {
     return(S is { } && S.ShapeType() != T);
Example #12
0
 public void AddBoxes(TopoDS_Shape S, TopAbs_ShapeEnum TS)
 {
     throw new NotImplementedException();
 }
 public void AddAncestors(TopoDS_Shape S, TopAbs_ShapeEnum T1, TopAbs_ShapeEnum T2)
 {
     throw new NotImplementedException();
 }
Example #14
0
 public void Check(TopAbs_ShapeEnum T, TopoDS_Shape S)
 {
     throw new NotImplementedException();
 }
Example #15
0
 public void SetDetalisation(TopAbs_ShapeEnum level)
 {
     throw new NotImplementedException();
 }
Example #16
0
 public bool IsInterfering(TopAbs_ShapeEnum theT)
 {
     throw new NotImplementedException();
 }
Example #17
0
 public void Add(TopoDS_Shape theS, TopAbs_ShapeEnum theType)
 {
     throw new NotImplementedException();
 }
Example #18
0
 public StdSelect_ShapeTypeFilter(TopAbs_ShapeEnum aType)
     : base()
 {
     throw new NotImplementedException();
 }
Example #19
0
 public void Filter(TopoDS_Shape S, TopAbs_ShapeEnum ShapeType)
 {
     throw new NotImplementedException();
 }
Example #20
0
 public void MapShapes(TopoDS_Shape S, TopAbs_ShapeEnum T, TopTools_IndexedMapOfShape M)
 {
     throw new NotImplementedException();
 }
Example #21
0
 public void SetTolerance(TopoDS_Shape shape, double preci, TopAbs_ShapeEnum styp)
 {
     throw new NotImplementedException();
 }
Example #22
0
 public void MapShapesAndUniqueAncestors(TopoDS_Shape S, TopAbs_ShapeEnum TS, TopAbs_ShapeEnum TA,
                                         TopTools_IndexedDataMapOfShapeListOfShape M, bool useOrientation)
 {
     throw new NotImplementedException();
 }
 public void Init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind)
 {
     throw new NotImplementedException();
 }
Example #24
0
 public TCollection_AsciiString SPrint(TopAbs_ShapeEnum T, int I)
 {
     throw new NotImplementedException();
 }
Example #25
0
 public void Load(SelectMgr_Selection aSelection, SelectMgr_SelectableObject Origin, TopoDS_Shape aShape,
                  TopAbs_ShapeEnum aType, double theDeflection, double theDeviationAngle, bool AutoTriangulation,
                  int aPriority)
 {
     throw new NotImplementedException();
 }
Example #26
0
 public void AddTolerance(TopoDS_Shape shape, TopAbs_ShapeEnum type)
 {
     throw new NotImplementedException();
 }
Example #27
0
 public int GetStandardPriority(TopoDS_Shape theShape, TopAbs_ShapeEnum theType)
 {
     throw new NotImplementedException();
 }
Example #28
0
 public int TypeToInteger(TopAbs_ShapeEnum theT)
 {
     throw new NotImplementedException();
 }
Example #29
0
 public TopOpeBRepDS_Kind ShapeToKind(TopAbs_ShapeEnum S)
 {
     throw new NotImplementedException();
 }
Example #30
0
 public bool ActsOn(TopAbs_ShapeEnum aStandardMode)
 {
     throw new NotImplementedException();
 }