mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 14:01:41 +00:00
const SGPOINT::GetPoint args
This commit is contained in:
parent
32bf88fa8e
commit
bf2e7215a5
@ -163,7 +163,7 @@ SGPOINT::SGPOINT( double aXVal, double aYVal, double aZVal ) noexcept
|
||||
}
|
||||
|
||||
|
||||
void SGPOINT::GetPoint( double& aXVal, double& aYVal, double& aZVal ) noexcept
|
||||
void SGPOINT::GetPoint( const double& aXVal, const double& aYVal, const double& aZVal ) noexcept
|
||||
{
|
||||
x = aXVal;
|
||||
y = aYVal;
|
||||
@ -171,7 +171,7 @@ void SGPOINT::GetPoint( double& aXVal, double& aYVal, double& aZVal ) noexcept
|
||||
}
|
||||
|
||||
|
||||
void SGPOINT::GetPoint( SGPOINT& aPoint ) noexcept
|
||||
void SGPOINT::GetPoint( const SGPOINT& aPoint ) noexcept
|
||||
{
|
||||
x = aPoint.x;
|
||||
y = aPoint.y;
|
||||
@ -179,7 +179,7 @@ void SGPOINT::GetPoint( SGPOINT& aPoint ) noexcept
|
||||
}
|
||||
|
||||
|
||||
void SGPOINT::GetPoint( SGPOINT* aPoint ) noexcept
|
||||
void SGPOINT::GetPoint( const SGPOINT* aPoint ) noexcept
|
||||
{
|
||||
wxCHECK_MSG( aPoint, /* void */, "NULL pointer passed for aPoint" );
|
||||
|
||||
|
@ -75,9 +75,9 @@ public:
|
||||
SGPOINT();
|
||||
SGPOINT( double aXVal, double aYVal, double aZVal ) noexcept;
|
||||
|
||||
void GetPoint( double& aXVal, double& aYVal, double& aZVal ) noexcept;
|
||||
void GetPoint( SGPOINT& aPoint ) noexcept;
|
||||
void GetPoint( SGPOINT* aPoint ) noexcept;
|
||||
void GetPoint( const double& aXVal, const double& aYVal, const double& aZVal ) noexcept;
|
||||
void GetPoint( const SGPOINT& aPoint ) noexcept;
|
||||
void GetPoint( const SGPOINT* aPoint ) noexcept;
|
||||
|
||||
void SetPoint( double aXVal, double aYVal, double aZVal ) noexcept;
|
||||
void SetPoint( const SGPOINT& aPoint ) noexcept;
|
||||
|
Loading…
Reference in New Issue
Block a user