Interface for canonical recognition operations. More...
import"GEOM_Gen.idl";
Public Member Functions | |
| boolean | isPlane (in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin) |
| boolean | isSphere (in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius) |
| boolean | isCone (in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle) |
| boolean | isCylinder (in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius) |
| boolean | isLine (in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin) |
| boolean | isCircle (in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius) |
| boolean | isEllipse (in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius) |
| boolean | IsDone () |
| To know, if the operation was successfully performed. More... | |
| void | SetErrorCode (in string theErrorID) |
| Set the operation error code. More... | |
| string | GetErrorCode () |
| Get the operation error code. More... | |
| void | StartOperation () |
| Opens a new transaction. More... | |
| void | FinishOperation () |
| Closes the previously opened transaction. More... | |
| void | AbortOperation () |
| Aborts the previously opened transaction. More... | |
Interface for canonical recognition operations.
| boolean isPlane | ( | in GEOM_Object | shape, |
| in double | tolerance, | ||
| inout ListOfDouble | normal, | ||
| inout ListOfDouble | origin | ||
| ) |
check if the shape is planar
| boolean isSphere | ( | in GEOM_Object | shape, |
| in double | tolerance, | ||
| inout ListOfDouble | origin, | ||
| inout double | radius | ||
| ) |
check if shape is spherical
| boolean isCone | ( | in GEOM_Object | shape, |
| in double | tolerance, | ||
| inout ListOfDouble | axis, | ||
| inout ListOfDouble | apex, | ||
| inout double | halfAngle | ||
| ) |
check if shape is conical
| boolean isCylinder | ( | in GEOM_Object | shape, |
| in double | tolerance, | ||
| inout ListOfDouble | axis, | ||
| inout ListOfDouble | origin, | ||
| inout double | radius | ||
| ) |
check if shape is cylinder
| boolean isLine | ( | in GEOM_Object | edge, |
| in double | tolerance, | ||
| inout ListOfDouble | direction, | ||
| inout ListOfDouble | origin | ||
| ) |
check if edge / wire is line
| boolean isCircle | ( | in GEOM_Object | edge, |
| in double | tolerance, | ||
| inout ListOfDouble | normal, | ||
| inout ListOfDouble | origin, | ||
| inout double | radius | ||
| ) |
check if edge / wire is circle
| boolean isEllipse | ( | in GEOM_Object | edge, |
| in double | tolerance, | ||
| inout ListOfDouble | normal, | ||
| inout ListOfDouble | dirX, | ||
| inout ListOfDouble | origin, | ||
| inout double | majorRadius, | ||
| inout double | minorRadius | ||
| ) |
check if edge / wire is ellipse
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
| theErrorID | is a string describing the error occurred |
|
inherited |
Get the operation error code.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened transaction.
|
inherited |
Aborts the previously opened transaction.