mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 13:50:35 +05:00
Mantis issue 0021066: EDF 1622: GetAngle function.
This commit is contained in:
parent
f85d1e4bf5
commit
8b92788b34
@ -2017,6 +2017,10 @@ void GEOMImpl_IMeasureOperations::PointCoordinates (Handle(GEOM_Object) theShape
|
|||||||
Standard_Real GEOMImpl_IMeasureOperations::GetAngle (Handle(GEOM_Object) theLine1,
|
Standard_Real GEOMImpl_IMeasureOperations::GetAngle (Handle(GEOM_Object) theLine1,
|
||||||
Handle(GEOM_Object) theLine2)
|
Handle(GEOM_Object) theLine2)
|
||||||
{
|
{
|
||||||
|
if (theLine1->GetType() == GEOM_VECTOR &&
|
||||||
|
theLine2->GetType() == GEOM_VECTOR)
|
||||||
|
return GetAngleBtwVectors(theLine1, theLine2);
|
||||||
|
|
||||||
SetErrorCode(KO);
|
SetErrorCode(KO);
|
||||||
|
|
||||||
Standard_Real anAngle = -1.0;
|
Standard_Real anAngle = -1.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user