Version: 9.12.0
GEOM::GEOM_ICanonicalRecognition Interface Reference

Interface for canonical recognition operations.

import"GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_ICanonicalRecognition:
Inheritance graph

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)
 
- Public Member Functions inherited from GEOM::GEOM_IOperations
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...
 

Member Function Documentation

◆ isCircle()

boolean GEOM::GEOM_ICanonicalRecognition::isCircle ( in GEOM_Object  edge,
in double  tolerance,
inout ListOfDouble  normal,
inout ListOfDouble  origin,
inout double  radius 
)

check if edge / wire is circle

◆ isCone()

boolean GEOM::GEOM_ICanonicalRecognition::isCone ( in GEOM_Object  shape,
in double  tolerance,
inout ListOfDouble  axis,
inout ListOfDouble  apex,
inout double  halfAngle 
)

check if shape is conical

◆ isCylinder()

boolean GEOM::GEOM_ICanonicalRecognition::isCylinder ( in GEOM_Object  shape,
in double  tolerance,
inout ListOfDouble  axis,
inout ListOfDouble  origin,
inout double  radius 
)

check if shape is cylinder

◆ isEllipse()

boolean GEOM::GEOM_ICanonicalRecognition::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

◆ isLine()

boolean GEOM::GEOM_ICanonicalRecognition::isLine ( in GEOM_Object  edge,
in double  tolerance,
inout ListOfDouble  direction,
inout ListOfDouble  origin 
)

check if edge / wire is line

◆ isPlane()

boolean GEOM::GEOM_ICanonicalRecognition::isPlane ( in GEOM_Object  shape,
in double  tolerance,
inout ListOfDouble  normal,
inout ListOfDouble  origin 
)

check if the shape is planar

◆ isSphere()

boolean GEOM::GEOM_ICanonicalRecognition::isSphere ( in GEOM_Object  shape,
in double  tolerance,
inout ListOfDouble  origin,
inout double  radius 
)

check if shape is spherical


The documentation for this interface was generated from the following file: