/dports/cad/opencascade/opencascade-7.6.0/samples/mfc/standard/04_Viewer3d/src/ |
H A D | TexturesExt_Presentation.cpp | 175 if (aShape.IsNull()) in loadShape() 226 TopoDS_Shape aShape; in sampleBottle() local 265 TopoDS_Shape aShape; in sampleTerrain() local 292 aShape = aTransform; in sampleTerrain() 315 aShape = aTransform; in moveScale() 324 TopoDS_Shape aShape; in sampleKitchen() local 335 moveScale(aShape); in sampleKitchen() 358 moveScale(aShape); in sampleKitchen() 363 moveScale(aShape); in sampleKitchen() 368 moveScale(aShape); in sampleKitchen() [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/unittests/ |
H A D | test_lib_ogl.py | 18 aShape.SetCanvas(osc) 29 aShape.SetCanvas(osc) 47 aShape.Create(points) 48 aShape.SetCanvas(osc) 59 aShape.SetCanvas(osc) 70 aShape.SetCanvas(osc) 81 aShape.SetCanvas(osc) 115 aShape.SetCanvas(osc) 132 aShape.SetCanvas(osc) 150 aShape.SetCanvas(osc) [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/TNaming/ |
H A D | TNaming_CopyShape.cxx | 53 if (aShape.IsNull()) return; in Translate() 55 if (aMap.Contains(aShape.TShape())) { in Translate() 65 switch (aShape.ShapeType()) { in Translate() 79 TrTool->UpdateShape(aShape,aResult); in Translate() 89 TrTool->UpdateShape(aShape,aResult); in Translate() 94 TrTool->UpdateShape(aShape,aResult); in Translate() 99 TrTool->UpdateShape(aShape,aResult); in Translate() 104 TrTool->UpdateShape(aShape,aResult); in Translate() 113 TopoDS_Shape S = aShape; in Translate() 130 aResult.Orientation(aShape.Orientation()); in Translate() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/ |
H A D | plot_brditems_plotter.cpp | 598 radius = KiROUND( GetLineLength( aShape->GetStart(), aShape->GetEnd() ) ); in PlotFootprintGraphicItem() 615 radius = KiROUND( GetLineLength( aShape->GetCenter(), aShape->GetStart() ) ); in PlotFootprintGraphicItem() 616 double startAngle = ArcTangente( aShape->GetStart().y - aShape->GetCenter().y, in PlotFootprintGraphicItem() 617 aShape->GetStart().x - aShape->GetCenter().x ); in PlotFootprintGraphicItem() 690 m_plotter->BezierCurve( aShape->GetStart(), aShape->GetBezierC1(), in PlotFootprintGraphicItem() 691 aShape->GetBezierC2(), aShape->GetEnd(), 0, thickness ); in PlotFootprintGraphicItem() 905 m_plotter->ThickCircle( aShape->GetStart(), aShape->GetRadius() * 2, thickness, in PlotPcbShape() 913 double startAngle = ArcTangente( aShape->GetStart().y - aShape->GetCenter().y, in PlotPcbShape() 914 aShape->GetStart().x - aShape->GetCenter().x ); in PlotPcbShape() 932 m_plotter->BezierCurve( aShape->GetStart(), aShape->GetBezierC1(), in PlotPcbShape() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepSweep/ |
H A D | BRepSweep_Tool.cxx | 27 BRepSweep_Tool::BRepSweep_Tool(const TopoDS_Shape& aShape) in BRepSweep_Tool() argument 29 TopExp::MapShapes(aShape,myMap); in BRepSweep_Tool() 49 Standard_Integer BRepSweep_Tool::Index(const TopoDS_Shape& aShape)const in Index() 51 if(!myMap.Contains(aShape)) return 0; in Index() 52 return myMap.FindIndex(aShape); in Index() 72 TopAbs_ShapeEnum BRepSweep_Tool::Type(const TopoDS_Shape& aShape)const in Type() 74 return aShape.ShapeType(); in Type() 84 (const TopoDS_Shape& aShape)const in Orientation() 86 return aShape.Orientation(); in Orientation() 95 void BRepSweep_Tool::SetOrientation (TopoDS_Shape& aShape, in SetOrientation() argument [all …]
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | TopoDS_Shape.hxx | 96 aShape.Location (theLoc); in Located() 97 return aShape; in Located() 112 return aShape; in Oriented() 181 return aShape; in Moved() 194 aShape.Reverse(); in Reversed() 195 return aShape; in Reversed() 208 aShape.Complement(); in Complemented() 209 return aShape; in Complemented() 223 return aShape; in Composed() 277 aShape.EmptyCopy(); in EmptyCopied() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/TopoDS/ |
H A D | TopoDS_Builder.cxx | 51 void TopoDS_Builder::Add (TopoDS_Shape& aShape, in Add() argument 60 if (aShape.Free()) in Add() 94 const unsigned int iS=(unsigned int)aShape.ShapeType(); in Add() 97 TopoDS_ListOfShape& L = aShape.TShape()->myShapes; in Add() 102 if (aShape.Orientation() == TopAbs_REVERSED) in Add() 106 const TopLoc_Location& aLoc=aShape.Location(); in Add() 111 aShape.TShape()->Modified(Standard_True); in Add() 128 void TopoDS_Builder::Remove (TopoDS_Shape& aShape, in Remove() argument 136 if (aShape.Orientation() == TopAbs_REVERSED) in Remove() 140 TopoDS_ListOfShape& L = aShape.TShape()->myShapes; in Remove() [all …]
|
H A D | TopoDS_Shape.hxx | 112 TopoDS_Shape aShape (*this); in Located() local 114 return aShape; in Located() 129 return aShape; in Oriented() 210 return aShape; in Moved() 223 aShape.Reverse(); in Reversed() 224 return aShape; in Reversed() 237 aShape.Complement(); in Complemented() 238 return aShape; in Complemented() 252 return aShape; in Composed() 306 aShape.EmptyCopy(); in EmptyCopied() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | TopoDS_Shape.hxx | 112 TopoDS_Shape aShape (*this); in Located() local 114 return aShape; in Located() 129 return aShape; in Oriented() 210 return aShape; in Moved() 223 aShape.Reverse(); in Reversed() 224 return aShape; in Reversed() 237 aShape.Complement(); in Complemented() 238 return aShape; in Complemented() 252 return aShape; in Composed() 306 aShape.EmptyCopy(); in EmptyCopied() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepCheck/ |
H A D | BRepCheck_Analyzer.cxx | 91 aResult->SetFailStatus (aShape); in operator ()() 105 aResOfVertex->InContext (aShape); in operator ()() 113 aResult->SetFailStatus (aShape); in operator ()() 148 aResult->SetFailStatus (aShape); in operator ()() 169 aFaceEdgeRes->InContext (aShape); in operator ()() 198 aResult->SetFailStatus (aShape); in operator ()() 215 aFaceWireRes->InContext (aShape); in operator ()() 241 aResult->SetFailStatus (aShape); in operator ()() 280 aResult->SetFailStatus (aShape); in operator ()() 302 exp.Init (aShape, TopAbs_SHELL); in operator ()() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Sweep/ |
H A D | Sweep_NumShapeTool.cxx | 27 Sweep_NumShapeTool::Sweep_NumShapeTool(const Sweep_NumShape& aShape) : in Sweep_NumShapeTool() argument 28 myNumShape(aShape) in Sweep_NumShapeTool() 56 (const Sweep_NumShape& aShape)const in Index() 58 if (aShape.Type()==TopAbs_EDGE){ in Index() 62 if (aShape.Closed()) { return 2; } in Index() 63 else { return (aShape.Index() + 1); } in Index() 92 TopAbs_ShapeEnum Sweep_NumShapeTool::Type(const Sweep_NumShape& aShape)const in Type() 94 return aShape.Type(); in Type() 105 (const Sweep_NumShape& aShape)const in Orientation() 107 return aShape.Orientation(); in Orientation()
|
/dports/cad/opencascade/opencascade-7.6.0/tools/ShapeView/ |
H A D | ShapeView_ItemShape.cxx | 74 TopoDS_Shape aShape = getShape(); in initValue() local 75 if (aShape.IsNull()) in initValue() 83 case 0: return TopAbs::ShapeTypeToString (aShape.ShapeType()); in initValue() 95 TopoDS_Shape aShape = getShape(); in initRowCount() local 96 if (aShape.IsNull()) in initRowCount() 103 TopExp::MapShapes(aShape, myExplodeType, aSubShapes); in initRowCount() 108 for (TopoDS_Iterator aSubShapeIt(aShape); aSubShapeIt.More(); aSubShapeIt.Next()) in initRowCount() 120 TopoDS_Shape aShape = getShape(); in initStream() local 121 if (aShape.IsNull()) in initStream() 124 aShape.DumpJson (theOStream); in initStream()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepOffsetAPI/ |
H A D | BRepOffsetAPI_FindContigousEdges.cxx | 52 void BRepOffsetAPI_FindContigousEdges::Add(const TopoDS_Shape& aShape) in Add() argument 54 mySewing->Add(aShape); in Add() 136 Standard_Boolean BRepOffsetAPI_FindContigousEdges::IsDegenerated(const TopoDS_Shape& aShape) const in IsDegenerated() 138 return mySewing->IsDegenerated(aShape); in IsDegenerated() 146 Standard_Boolean BRepOffsetAPI_FindContigousEdges::IsModified(const TopoDS_Shape& aShape) const in IsModified() 148 return mySewing->IsModified(aShape); in IsModified() 156 const TopoDS_Shape& BRepOffsetAPI_FindContigousEdges::Modified(const TopoDS_Shape& aShape) const in Modified() 158 Standard_NoSuchObject_Raise_if(!IsModified(aShape),"BRepOffsetAPI_FindContigousEdges::Modified"); in Modified() 159 return mySewing->Modified(aShape); in Modified()
|
/dports/cad/opencascade/opencascade-7.6.0/tests/vselect/bugs/ |
H A D | bug26430 | 8 restore [locate_data_file bug26430.brep] aShape 11 vdisplay aShape 13 vsetdispmode aShape 1 15 vselmode aShape 1 1 16 vselmode aShape 2 1 17 vselmode aShape 3 1 18 vselmode aShape 4 1 19 vselmode aShape 5 1
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/include/geometry/ |
H A D | shape_index.h | 120 bool queryCallback( T aShape, void* aContext ) in queryCallback() argument 124 acceptVisitor<T, V>( aShape, *visitor ); in queryCallback() 227 void Add( T aShape ); 242 void Remove( T aShape ); 284 BOX2I box = aShape->BBox(); in Query() 326 this->m_tree->Insert( min, max, aShape ); in Add() 330 void SHAPE_INDEX<T>::Add( T aShape ) in Add() argument 332 BOX2I box = boundingBox( aShape ); in Add() 336 this->m_tree->Insert( min, max, aShape ); in Add() 340 void SHAPE_INDEX<T>::Remove( T aShape ) in Remove() argument [all …]
|
H A D | shape_compound.h | 57 bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I* aMTV ) const override in Collide() argument 59 return SHAPE::Collide( aShape, aClearance, aMTV ); in Collide() 62 bool Collide( const SHAPE* aShape, int aClearance = 0, int* aActual = nullptr, 65 return SHAPE::Collide( aShape, aClearance, aActual, aLocation ); 79 void AddShape( SHAPE* aShape ) in AddShape() argument 82 if( aShape->HasIndexableSubshapes() ) in AddShape() 85 aShape->GetIndexableSubshapes( subshapes ); in AddShape() 90 delete aShape; in AddShape() local 94 m_shapes.push_back( aShape ); in AddShape()
|
/dports/cad/opencascade/opencascade-7.6.0/src/IVtkTools/ |
H A D | IVtkTools_ShapePicker.cxx | 249 if (!aShape.IsNull()) in GetSelectionModes() 251 aRes = myOccPickerAlgo->GetSelectionModes (aShape); in GetSelectionModes() 276 if (!aShape.IsNull()) in SetSelectionMode() 278 myOccPickerAlgo->SetSelectionMode (aShape, theMode, theIsTurnOn); in SetSelectionMode() 302 if (!aShape.IsNull()) in SetSelectionMode() 304 myOccPickerAlgo->SetSelectionMode (aShape, theMode, theIsTurnOn); in SetSelectionMode() 348 IVtk_IShape::Handle aShape = IVtkTools_ShapeObject::GetOccShape(theShapeActor); in RemoveSelectableActor() local 349 if (!aShape.IsNull()) in RemoveSelectableActor() 351 RemoveSelectableObject(aShape); in RemoveSelectableActor() 399 if (!aShape.IsNull()) in GetPickedActors() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/tools/DFBrowserPane/ |
H A D | DFBrowserPane_TNamingNamedShape.cxx | 155 aShapes.Append (aShape); in Init() 156 if (aShape.IsNull()) in Init() 300 TopoDS_Shape aShape; in GetAttributeInfo() local 304 if (aShape.IsNull()) in GetAttributeInfo() 382 if (aShape.IsNull()) in GetSelectionParameters() 419 if (!aShape.IsNull()) in GetReferences() 439 if (aShape.IsNull()) in Handle() 452 TopoDS_Shape aShape; in getSelectedShapes() local 455 return aShape; in getSelectedShapes() 487 aShape = aComp; in getSelectedShapes() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/XDEDRAW/ |
H A D | XDEDRAW_Props.cxx | 204 TopoDS_Shape aShape; in SetProps() local 207 if ( !aShape.IsNull() ) { in SetProps() 268 if ( !aShape.IsNull() ) { in SetVolume() 306 if ( !aShape.IsNull() ) { in SetArea() 343 if ( !aShape.IsNull() ) { in SetCentroid() 380 if ( !aShape.IsNull() ) { in GetVolume() 416 if ( !aShape.IsNull() ) { in GetArea() 454 if ( !aShape.IsNull() ) { in GetCentroid() 498 TopoDS_Shape aShape; in CheckProps() local 825 TopoDS_Shape aShape; in ShapeMassProps() local [all …]
|
/dports/cad/horizon-eda/horizon-2.1.0/3rd_party/router/include/geometry/ |
H A D | shape_index.h | 97 bool queryCallback( T aShape, void* aContext ) in queryCallback() argument 101 acceptVisitor<T, V>( aShape, *visitor ); in queryCallback() 217 void Add( T aShape ); 225 void Remove( T aShape ); 272 BOX2I box = aShape->BBox(); in Query() 310 void SHAPE_INDEX<T>::Add( T aShape ) in Add() argument 312 BOX2I box = boundingBox( aShape ); in Add() 316 this->m_tree->Insert( min, max, aShape ); in Add() 320 void SHAPE_INDEX<T>::Remove( T aShape ) in Remove() argument 322 BOX2I box = boundingBox( aShape ); in Remove() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/router/ |
H A D | pns_solid.cpp | 40 static const SHAPE_LINE_CHAIN buildHullForPrimitiveShape( const SHAPE* aShape, int aClearance, in buildHullForPrimitiveShape() argument 45 switch( aShape->Type() ) in buildHullForPrimitiveShape() 49 const SHAPE_RECT* rect = static_cast<const SHAPE_RECT*>( aShape ); in buildHullForPrimitiveShape() 58 const SHAPE_CIRCLE* circle = static_cast<const SHAPE_CIRCLE*>( aShape ); in buildHullForPrimitiveShape() 68 const SHAPE_SEGMENT* seg = static_cast<const SHAPE_SEGMENT*>( aShape ); in buildHullForPrimitiveShape() 74 const SHAPE_ARC* arc = static_cast<const SHAPE_ARC*>( aShape ); in buildHullForPrimitiveShape() 80 const SHAPE_SIMPLE* convex = static_cast<const SHAPE_SIMPLE*>( aShape ); in buildHullForPrimitiveShape() 87 aShape->Type(), in buildHullForPrimitiveShape() 88 SHAPE_TYPE_asString( aShape->Type() ) ) ); in buildHullForPrimitiveShape()
|
/dports/cad/opencascade/opencascade-7.6.0/src/IVtkOCC/ |
H A D | IVtkOCC_Shape.cxx | 73 TopoDS_Shape aShape = mySubShapeIds.FindKey ((Standard_Integer) theId); in GetSubIds() local 74 TopAbs_ShapeEnum aShapeType = aShape.ShapeType(); in GetSubIds() 86 if (aShape.IsSame (myTopoDSShape)) in GetSubIds() 92 TopExp::MapShapes (aShape, aSubShapes); in GetSubIds() 97 aShape = aSubShapes.FindKey (anIt); in GetSubIds() 98 aShapeType = aShape.ShapeType(); in GetSubIds() 103 aRes.Append (mySubShapeIds.FindIndex (aShape)); in GetSubIds()
|
/dports/cad/opencascade/opencascade-7.6.0/src/TopoDSToStep/ |
H A D | TopoDSToStep_Builder.cxx | 56 (const TopoDS_Shape& aShape, in TopoDSToStep_Builder() argument 62 Init(aShape, aTool, FP, theProgress); in TopoDSToStep_Builder() 70 void TopoDSToStep_Builder::Init(const TopoDS_Shape& aShape, in Init() argument 76 if (myTool.IsBound(aShape)) { in Init() 79 myResult = myTool.Find(aShape); in Init() 83 switch (aShape.ShapeType()) in Init() 87 TopoDS_Shell myShell = TopoDS::Shell(aShape); in Init() 163 myTool.Bind(aShape, CFSpms); in Init() 177 const TopoDS_Face Face = TopoDS::Face(aShape); in Init()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_canvas/ |
H A D | create_3Dgraphic_brd_items.cpp | 633 void BOARD_ADAPTER::addShapeWithClearance( const PCB_SHAPE* aShape, in addShapeWithClearance() argument 641 switch( aShape->GetShape() ) in addShapeWithClearance() 654 if( aShape->IsFilled() ) in addShapeWithClearance() 662 if( aShape->IsFilled() ) in addShapeWithClearance() 675 std::vector<wxPoint> pts = aShape->GetRectCorners(); in addShapeWithClearance() 697 transformArcToSegments( aShape->GetCenter(), aShape->GetStart(), aShape->GetArcAngle(), in addShapeWithClearance() 704 const SFVEC2F start3DU( aShape->GetStart().x * m_biuTo3Dunits, in addShapeWithClearance() 707 const SFVEC2F end3DU ( aShape->GetEnd().x * m_biuTo3Dunits, in addShapeWithClearance() 713 *aShape ) ); in addShapeWithClearance() 718 *aShape ) ); in addShapeWithClearance() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/samples/mfc/standard/Common/ImportExport/ |
H A D | ImportExport.cpp | 75 aSequence->Append(aShape); in Handle() 101 Handle(AIS_Shape) aShape; in ReadBREP() local 133 TopoDS_Shape aShape; in Handle() local 140 aSequence->Append(aShape); in Handle() 155 aShape.Nullify(); in ReadBREP() 166 return !aShape.IsNull(); in ReadBREP() 191 if ( aShape.IsNull() ) in SaveBREP() 195 MKCP.Add(RES, aShape); in SaveBREP() 301 aHSequenceOfShape->Append(aShape); in ReadIGES() 642 if ( aShape.IsNull() ) in SaveSTL() [all …]
|