/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_api/ |
H A D | shapes_ogis.cpp | 204 pShape->Set_Z (z, pShape->Get_Point_Count(iPart) - 1, iPart); in _WKT_Read_Point() 214 pShape->Set_Z (z, pShape->Get_Point_Count(iPart) - 1, iPart); in _WKT_Read_Point() 215 pShape->Set_M (m, pShape->Get_Point_Count(iPart) - 1, iPart); in _WKT_Read_Point() 294 pShape->Del_Parts(); in from_WKText() 389 …if( pShape->Get_Type() == SHAPE_TYPE_Polygon && CSG_Point(pShape->Get_Point(0, iPart)) != pShape->… in _WKT_Write_Points() 467 …_WKT_Write_Points (Text = from_ShapeType(pShape->Get_Type(), pShape->Get_Vertex_Type()), pShape, 0… in to_WKText() 471 _WKT_Write_Parts (Text = from_ShapeType(pShape->Get_Type(), pShape->Get_Vertex_Type()), pShape); in to_WKText() 475 _WKT_Write_Parts (Text = from_ShapeType(pShape->Get_Type(), pShape->Get_Vertex_Type()), pShape); in to_WKText() 479 _WKT_Write_Polygon(Text = from_ShapeType(pShape->Get_Type(), pShape->Get_Vertex_Type()), pShape); in to_WKText() 596 pShape->Del_Parts(); in from_WKBinary() [all …]
|
H A D | shape.cpp | 164 TSG_Intersection CSG_Shape::Intersects(CSG_Shape *pShape) in Intersects() argument 167 if( !pShape || !Intersects(pShape->Get_Extent()) ) in Intersects() 173 …if( Get_Extent().is_Equal(pShape->Get_Extent()) && Get_Part_Count() == pShape->Get_Part_Count() &&… in Intersects() 179 if( Get_Point_Count(iPart) != pShape->Get_Point_Count(iPart) ) in Intersects() 187 if( !Point.is_Equal(pShape->Get_Point(iPoint, iPart)) ) in Intersects() 203 …if( Get_Type() >= pShape->Get_Type() && (Intersection = On_Intersects(pShape)) != INTERSECTION_Non… in Intersects() 208 Intersection = pShape->On_Intersects(this); in Intersects() 244 bool CSG_Shape::Assign(CSG_Shape *pShape) in Assign() argument 246 return( Assign(pShape, true) ); in Assign() 251 if( pShape && Get_Type() == pShape->Get_Type() && On_Assign(pShape) ) in Assign() [all …]
|
H A D | shapes_io.cpp | 323 CSG_Shape *pShape = Add_Shape(); in _Load_ESRI() local 334 pShape->Add_Point(pPoint->x, pPoint->y); in _Load_ESRI() 439 pShape->Set_Value(iField, Value); in _Load_ESRI() 443 pShape->Set_NoData(iField); in _Load_ESRI() 596 CSG_Shape *pShape = Get_Shape(iShape); in _Save_ESRI() local 665 for(iPart=0, iPoint=0; iPart<pShape->Get_Part_Count(); iPoint+=pShape->Get_Point_Count(iPart++)) in _Save_ESRI() 686 fSHP.Write_Double(pShape->Get_Z(0)); in _Save_ESRI() 690 fSHP.Write_Double(pShape->Get_M(0)); in _Save_ESRI() 712 fSHP.Write_Double(pShape->Get_ZMin()); in _Save_ESRI() 713 fSHP.Write_Double(pShape->Get_ZMax()); in _Save_ESRI() [all …]
|
H A D | shapes.cpp | 524 if( pShape && pCopy ) in Add_Shape() 537 return( pShape ); in Add_Shape() 566 m_ZMin = pShape->Get_ZMin(); in On_Update() 573 pShape = Get_Shape(i); in On_Update() 580 if( m_MMin > pShape->Get_MMin() ) m_MMin = pShape->Get_MMin(); in On_Update() 581 if( m_MMax < pShape->Get_MMax() ) m_MMax = pShape->Get_MMax(); in On_Update() 584 if( m_ZMin > pShape->Get_ZMin() ) m_ZMin = pShape->Get_ZMin(); in On_Update() 585 if( m_ZMax < pShape->Get_ZMax() ) m_ZMax = pShape->Get_ZMax(); in On_Update() 622 if( pShape->Intersects(r) ) in Get_Shape() 632 return( pShape ); in Get_Shape() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_tools/ |
H A D | quadtree_structure.cpp | 132 CSG_Shape *pShape; in Get_Shapes() local 151 pShape = pShapes->Add_Shape(); in Get_Shapes() 152 pShape->Set_Value(0, 0.0); in Get_Shapes() 189 CSG_Shape *pShape = pShapes->Add_Shape(); in Get_Shapes() local 197 pShape->Set_Value(0, pList->Get_Count()); in Get_Shapes() 202 pShape->Set_Value(1, CSG_String::Format(SG_T("%s|%s"), pShape->asString(1), in Get_Shapes() 209 pShape->Set_Value(0, 1); in Get_Shapes() 221 CSG_Shape *pShape = pShapes->Add_Shape(); in Get_Shapes() local 222 pShape->Set_Value(0, Level); in Get_Shapes() 236 CSG_Shape *pShape = pShapes->Add_Shape(); in Get_Shapes() local [all …]
|
H A D | SelectByTheme.cpp | 139 CSG_Shape *pShape = m_pShapes->Get_Shape(i); in On_Execute() local 144 if( ( pShape->is_Selected() && !Do_Select(pShape, Condition)) in On_Execute() 145 || (!pShape->is_Selected() && Do_Select(pShape, Condition)) ) in On_Execute() 152 if( !pShape->is_Selected() && Do_Select(pShape, Condition) ) in On_Execute() 159 if( pShape->is_Selected() && !Do_Select(pShape, Condition) ) in On_Execute() 166 if( pShape->is_Selected() && Do_Select(pShape, Condition) ) in On_Execute() 188 bool CSelect_Location::Do_Select(CSG_Shape *pShape, int Condition) in Do_Select() argument 194 if( pShape->Intersects(pLocation->Get_Extent()) ) in Do_Select() 199 if( pLocation->Intersects(pShape) ) in Do_Select() 206 if( pLocation->Intersects(pShape) == INTERSECTION_Contains ) in Do_Select() [all …]
|
H A D | SearchInTable.cpp | 124 CSG_Shape *pShape = pShapes->Get_Shape(i); in On_Execute() local 129 if( ( pShape->is_Selected() && !Do_Select(pShape)) in On_Execute() 130 || (!pShape->is_Selected() && Do_Select(pShape)) ) in On_Execute() 137 if( !pShape->is_Selected() && Do_Select(pShape) ) in On_Execute() 144 if( pShape->is_Selected() && !Do_Select(pShape) ) in On_Execute() 151 if( pShape->is_Selected() && Do_Select(pShape) ) in On_Execute() 198 inline bool CSelect_String::Do_Select(CSG_Shape *pShape) in Do_Select() argument 200 if( m_Field >= 0 && m_Field < pShape->Get_Table()->Get_Field_Count() ) in Do_Select() 202 return( Do_Compare(pShape->asString(m_Field)) ); in Do_Select() 205 for(int i=0; i<pShape->Get_Table()->Get_Field_Count(); i++) in Do_Select() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/doc/ |
H A D | textboxhelper.cxx | 63 if (pShape->GetAttrSet().HasItem(RES_CNTNT) && pShape->GetOtherTextBoxFormat()) in create() 110 pShape->SetOtherTextBoxFormat(pFormat); in create() 138 pShape->SetFormatAttr(aSet); in create() 141 DoTextBoxZOrderCorrection(pShape); in create() 312 if (pShape) in getShapeWrapThrough() 327 if (!pShape) in getOtherTextBoxFormat() 556 if (!pShape) in getProperty() 589 if (!pShape) in getProperty() 606 if (!pShape) in syncProperty() 1186 return doTextBoxPositioning(pShape) && DoTextBoxZOrderCorrection(pShape); in changeAnchor() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/io/io_shapes/ |
H A D | atlas_bna.cpp | 127 CSG_Shape *pShape = NULL; in On_Execute() local 143 if( pShape ) in On_Execute() 277 if( pShape->is_Valid() ) in On_Execute() 280 pShape->asString(iName1), in On_Execute() 281 pShape->asString(iName2), in On_Execute() 292 if( pShape->is_Valid() ) in On_Execute() 297 pShape->asString(iName1), in On_Execute() 313 if( pShape->is_Valid() ) in On_Execute() 316 pShape->asString(iName1), in On_Execute() 317 pShape->asString(iName2), in On_Execute() [all …]
|
H A D | gstat.cpp | 318 CSG_Shape *pShape = pShapes->Add_Shape(); in On_Execute() local 320 pShape->Add_Point(x, y); in On_Execute() 321 pShape->Set_Value(0, x); in On_Execute() 322 pShape->Set_Value(1, y); in On_Execute() 330 pShape->Set_Value(i, "NA"); in On_Execute() 336 pShape->Set_Value(i, s); in On_Execute() 373 CSG_Shape *pShape = NULL; in On_Execute() local 382 if( !pShape ) in On_Execute() 384 pShape = pShapes->Add_Shape(); in On_Execute() 386 pShape->Set_Value(0, Value); in On_Execute() [all …]
|
H A D | surfer_bln.cpp | 125 CSG_Shape *pShape; in On_Execute() local 215 pShape = pShapes->Add_Shape(); in On_Execute() 216 pShape->Set_Value(0, iPoint + 1); in On_Execute() 217 pShape->Set_Value(1, ID); in On_Execute() 222 pShape->Add_Point(x, y); in On_Execute() 228 pShape = pShapes->Add_Shape(); in On_Execute() 229 pShape->Set_Value(0, ID); in On_Execute() 230 pShape->Set_Value(1, Flag); in On_Execute() 231 pShape->Set_Value(2, sName); in On_Execute() 232 pShape->Set_Value(3, sDesc); in On_Execute() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/inc/ |
H A D | EffectMigration.hxx | 56 static void SetDimColor( SvxShape* pShape, sal_Int32 nColor ); 57 static sal_Int32 GetDimColor( SvxShape* pShape ); 58 static void SetDimHide( SvxShape* pShape, bool bDimHide ); 59 static bool GetDimHide( SvxShape* pShape ); 60 static void SetDimPrevious( SvxShape* pShape, bool bDimPrevious ); 61 static bool GetDimPrevious( SvxShape* pShape ); 62 static void SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos ); 63 static sal_Int32 GetPresentationOrder( SvxShape* pShape ); 65 static OUString GetSoundFile( SvxShape* pShape ); 66 static bool GetSoundOn( SvxShape* pShape ); [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/inc/ |
H A D | EffectMigration.hxx | 57 static void SetDimColor( SvxShape* pShape, sal_Int32 nColor ); 58 static sal_Int32 GetDimColor( SvxShape* pShape ); 59 static void SetDimHide( SvxShape* pShape, bool bDimHide ); 60 static bool GetDimHide( SvxShape* pShape ); 61 static void SetDimPrevious( SvxShape* pShape, bool bDimPrevious ); 62 static bool GetDimPrevious( SvxShape* pShape ); 63 static void SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos ); 64 static sal_Int32 GetPresentationOrder( SvxShape* pShape ); 66 static OUString GetSoundFile( SvxShape* pShape ); 67 static bool GetSoundOn( SvxShape* pShape ); [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/source/core/ |
H A D | EffectMigration.cxx | 434 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetAnimationEffect() 436 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetAnimationEffect() 590 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetTextAnimationEffect() 592 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetTextAnimationEffect() 814 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetAnimationSpeed() 816 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetAnimationSpeed() 886 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetDimColor() 888 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimColor() 950 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimHide() 1014 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimPrevious() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/source/core/ |
H A D | EffectMigration.cxx | 425 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetAnimationEffect() 427 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetAnimationEffect() 581 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetTextAnimationEffect() 583 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetTextAnimationEffect() 807 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetAnimationSpeed() 809 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetAnimationSpeed() 879 … DBG_ASSERT( pShape && pShape->GetSdrObject() && pShape->GetSdrObject()->getSdrPageFromSdrObject(), in SetDimColor() 881 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimColor() 943 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimHide() 1007 if( !pShape || !pShape->GetSdrObject() || !pShape->GetSdrObject()->getSdrPageFromSdrObject() ) in SetDimPrevious() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/statistics/statistics_points/ |
H A D | GSPoints_Pattern_Analysis.cpp | 194 pShape = pShapes->Add_Shape(); in On_Execute() 196 pShape ->Set_Value(0, X.Get_Mean ()); in On_Execute() 197 pShape ->Set_Value(1, Y.Get_Mean ()); in On_Execute() 198 pShape ->Set_Value(2, D.Get_Count ()); in On_Execute() 213 pShape = pShapes->Add_Shape(); in On_Execute() 215 pShape ->Set_Value(0, X.Get_Mean ()); in On_Execute() 216 pShape ->Set_Value(1, Y.Get_Mean ()); in On_Execute() 217 pShape ->Set_Value(2, X.Get_Count()); in On_Execute() 218 pShape ->Set_Value(3, StdDist ); in On_Execute() 224 pShape->Add_Point( in On_Execute() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/doc/ |
H A D | textboxhelper.cxx | 50 void SwTextBoxHelper::create(SwFrameFormat* pShape) in create() argument 53 if (pShape->GetAttrSet().HasItem(RES_CNTNT)) in create() 75 pShape->SetOtherTextBoxFormat(pFormat); in create() 76 pFormat->SetOtherTextBoxFormat(pShape); in create() 100 SwAttrSet aSet(pShape->GetAttrSet()); in create() 103 pShape->SetFormatAttr(aSet); in create() 141 pShape->ResetFormatAttr(RES_CNTNT); in destroy() 243 if (pShape) in getShapeWrapThrough() 258 if (!pShape) in getOtherTextBoxFormat() 414 if (!pShape) in getProperty() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_grid/ |
H A D | Grid_Values_AddTo_Shapes.cpp | 193 CSG_Shape *pShape = pShapes->Get_Shape(iShape); in On_Execute() local 195 if( pShape->Get_Extent().Intersects(pGrid->Get_Extent()) ) in On_Execute() 208 pShape->Set_Value(Field, Statistics.Get_Mean()); in On_Execute() 212 pShape->Set_NoData(Field); in On_Execute() 234 for(int iPart=0; iPart<pShape->Get_Part_Count(); iPart++) in Get_Data_Point() 236 for(int iPoint=0; iPoint<pShape->Get_Point_Count(iPart); iPoint++) in Get_Data_Point() 258 for(int iPart=0; iPart<pShape->Get_Part_Count(); iPart++) in Get_Data_Line() 260 if( pShape->Get_Point_Count(iPart) > 0 ) in Get_Data_Line() 264 TSG_Point B, A = pShape->Get_Point(0, iPart); in Get_Data_Line() 271 for(int iPoint=1; iPoint<pShape->Get_Point_Count(iPart); iPoint++) in Get_Data_Line() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/statistics/statistics_regression/ |
H A D | gw_multi_regression_points.cpp | 199 CSG_Shape *pShape = pShapes->Get_Shape(iShape); in Initialize() local 201 bool bOkay = pShape->is_Valid() && !pShape->is_NoData(Dependent); in Initialize() 318 CSG_Shape *pShape = m_pShapes->Get_Shape(iShape); in On_Execute() local 324 pShape->Set_Value(m_nPredictors + 5, Model[0]); in On_Execute() 328 Value += Model[1 + i] * pShape->asDouble(i); in On_Execute() 346 pShape->Set_NoData(i); in On_Execute() 353 CSG_Shape *pShape = m_pShapes->Get_Shape(iShape); in On_Execute() local 357 …pShape->Set_Value(m_nPredictors + 3, pShape->asDouble(m_nPredictors + 2) / Residuals.Get_StdDev())… in On_Execute() 361 pShape->Set_NoData(m_nPredictors + 3); in On_Execute() 389 CSG_Shape *pShape = m_pShapes->Get_Shape(Index); in Get_Model() local [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/io/io_gdal/ |
H A D | ogr_driver.cpp | 799 if( _Read_Geometry(pShape, pGeometry) == false || !pShape->is_Valid() ) in Read() 801 pShapes->Del_Shape(pShape); in Read() 822 if( !pShape || !pGeometry ) in _Read_Geometry() 880 pShape->Add_Point( in _Read_Line() 885 pShape->Set_Z( in _Read_Line() 899 if( pShape && pPolygon ) in _Read_Polygon() 1036 if( !pShape || !pFeature ) in _Write_Geometry() 1041 switch( pShape->Get_Type() ) in _Write_Geometry() 1075 if( pShape->Get_Part_Count() == 1 ) in _Write_Geometry() 1079 _Write_Line(pShape, Line, 0, bZ); in _Write_Geometry() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/inc/ |
H A D | textboxhelper.hxx | 61 static void create(SwFrameFormat* pShape, bool bCopyText = false); 63 static void destroy(SwFrameFormat* pShape); 68 static void syncProperty(SwFrameFormat* pShape, sal_uInt16 nWID, sal_uInt8 nMemberID, 71 static void syncProperty(SwFrameFormat* pShape, std::u16string_view rPropertyName, 77 static css::uno::Any getProperty(SwFrameFormat const* pShape, OUString sPropName); 90 static bool setWrapThrough(SwFrameFormat* pShape); 94 static bool changeAnchor(SwFrameFormat* pShape); 98 static bool doTextBoxPositioning(SwFrameFormat* pShape); 105 static std::optional<bool> isAnchorTypeDifferent(SwFrameFormat* pShape); 108 static bool isTextBoxShapeHasValidTextFrame(SwFrameFormat* pShape); [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/garden/garden_fractals/ |
H A D | Pythagoras_Tree.cpp | 265 CSG_Shape *pShape; in Add_Shape() local 271 pShape->Add_Point(pt_A); in Add_Shape() 272 pShape->Add_Point(pt_B); in Add_Shape() 273 pShape->Add_Point(pt_C); in Add_Shape() 274 pShape->Add_Point(pt_D); in Add_Shape() 278 pShape->Add_Point(pt_A); in Add_Shape() 285 CSG_Shape *pShape; in Add_Shape() local 291 pShape->Add_Point(pt_A); in Add_Shape() 292 pShape->Add_Point(pt_B); in Add_Shape() 293 pShape->Add_Point(pt_C); in Add_Shape() [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/garden/garden_3d_viewer/ |
H A D | 3d_viewer_shapes.cpp | 213 CSG_Shape *pShape = m_pShapes->Get_Selection(i); in Update_Statistics() local 219 z += pShape->Get_Z(iPoint, iPart); in Update_Statistics() 357 switch( pShape->Get_Type() ) in Draw_Shape() 370 a.z = pShape->Get_Z(iPoint, iPart); in Draw_Shape() 383 TSG_Point p = pShape->Get_Point(0, iPart); in Draw_Shape() 387 a.z = pShape->Get_Z(0, iPart); in Draw_Shape() 394 p = pShape->Get_Point(iPoint, iPart); in Draw_Shape() 397 a.z = pShape->Get_Z(iPoint, iPart); in Draw_Shape() 414 a.z = pShape->Get_Z(0, iPart, false); in Draw_Shape() 420 b = a; p = pShape->Get_Point(iPoint, iPart); in Draw_Shape() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/oox/source/drawingml/diagram/ |
H A D | layoutatomvisitors.cxx | 83 ShapePtr pShape = rAtom.getExistingShape(); in visit() local 84 if (rAtom.setupShape(pShape, pNewNode, mnCurrIdx)) in visit() 86 pShape->setInternalName(rAtom.getName()); in visit() 87 rAtom.addNodeShape(pShape); in visit() 97 if (pShape) in visit() 105 pShape->setInternalName(rAtom.getName()); in visit() 106 pCurrParent->addChild(pShape); in visit() 107 pCurrParent = pShape; in visit() 108 rAtom.addNodeShape(pShape); in visit() 206 auto pShape = aMap.find(mpCurrentNode); in visit() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/oox/source/drawingml/diagram/ |
H A D | layoutatomvisitors.cxx | 75 ShapePtr pShape = rAtom.getExistingShape(); in visit() local 76 if (rAtom.setupShape(pShape, pNewNode, mnCurrIdx)) in visit() 78 pShape->setInternalName(rAtom.getName()); in visit() 79 rAtom.addNodeShape(pShape); in visit() 89 if (pShape) in visit() 97 pShape->setInternalName(rAtom.getName()); in visit() 98 pCurrParent->addChild(pShape); in visit() 99 pCurrParent = pShape; in visit() 100 rAtom.addNodeShape(pShape); in visit() 190 auto pShape = aMap.find(mpCurrentNode); in visit() local [all …]
|