All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricOperators Class CATIntersectionCrvSur
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---GeometricOperators.CATGeoOperator
|
+---CATIntersectionCrvSur
Usage: you must use this class as is. You should never derive it.
public class CATIntersectionCrvSur
Class defining the operator of the intersection of a curve and a surface.
The operator outputs the isolated solutions (points) and the
overlapping solutions (curves).
- The CATIntersectionCrvSur operator is created with the CreateIntersection method and
directly deleted with the usual C++ delete operator.
It is is not streamable.
- In case of BASIC
mode, the operation is automatically performed at the operator creation.
In case of ADVANCED
mode, options can be precised with the SetXxx methods, before
asking for the computation with the Run method. The advanced mode also allows you to
run the same operator with different curves or surfaces.
- In both cases, the result is accessed with two specific interators, one for the solution points,
the other for the solution curves.
Constructor and Destructor Index
- o
~CATIntersectionCrvSur()
- Destructor.
Method Index
- o
BeginningCurve()
- Initializes the iterator of the solution curves of this
CATIntersectionCrvSur operator.
- o
BeginningPoint()
- Initializes the iterator of the resulting points.
- o
GetCartesianPoint()
- Createss the next solution point of this CATIntersectionCrvSur operator.
- o
GetCurveBoundaries()
- Returns the domain of the next resulting curve of this
CATIntersectionCrvSur operator.
- o
GetCurveParam()
- Returns the parameter on the curve of the next solution point of this CATIntersectionCrvSur operator.
- o
GetEdgeCurve()
- Creates the next solution curve as an edge curve.
- o
GetNumberOfCurves()
- Returns the number of solution curves of this CATIntersectionCrvSur operator.
- o
GetNumberOfPoints()
- Returns the number of isolated solution points of this CATIntersectionCrvSur operator.
- o
GetPCurve()
- Creates the next solution curve of this CATIntersectionCrvSur operator.
- o
GetPointOnCurve()
- Creates the next solution point on curve of this CATIntersectionCrvSur operator.
- o
GetPointOnSurface()
- Returns the next solution point on surface of this CATIntersectionCrvSur operator.
- o
GetSignatureOn()
- Returns the relative orientation of the curve tangent and the surface normal at the intersection point.
- o
GetSurfaceParam()
- Returns the parameter on the surface of the next solution point of this CATIntersectionCrvSur operator.
- o
NextCurve()
- Skips to the next solution curve of this CATIntersectionCrvSur operator.
- o
NextPoint()
- Skips to the next solution point of this CATIntersectionCrvSur operator.
- o
SetCurve(CATCurve*)
- Defines the intersection with another curve (ADVANCED mode).
- o
SetLimits(CATCrvLimits&)
- Modifies the curve domain to take into account for this CATIntersectionCrvSur
operator (ADVANCED mode).
- o
SetLimits(CATSurLimits&)
- Modifies the surface domain to take into account for this CATIntersectionCrvSur
operator (ADVANCED mode).
- o
SetSurface(CATSurface*)
- Defines the intersection with another second surface (ADVANCED mode).
Constructor and Destructor
o ~CATIntersectionCrvSur
public virtual ~CATIntersectionCrvSur( | ) |
-
Destructor.
Methods
o BeginningCurve
public virtual void BeginningCurve( | )= 0 |
-
Initializes the iterator of the solution curves of this
CATIntersectionCrvSur operator.
By default, the initialization is performed once the operator runs,
and this is therefore only used to read the solutions again.
o BeginningPoint
public virtual void BeginningPoint( | )= 0 |
-
Initializes the iterator of the resulting points.
By default, the initialization is performed once the operator runs,
and this is therefore only used to read the solutions again.
o GetCartesianPoint
-
Createss the next solution point of this CATIntersectionCrvSur operator.
- Returns:
- The pointer to the created point. A new point is created each time this method is called.
If you do not want to keep the created point, use the
CATICGMContainer.Remove method.
o GetCurveBoundaries
-
Returns the domain of the next resulting curve of this
CATIntersectionCrvSur operator.
- Returns:
- The corresponding limitations.
o GetCurveParam
-
Returns the parameter on the curve of the next solution point of this CATIntersectionCrvSur operator.
- Returns:
- The parameter.
o GetEdgeCurve
-
Creates the next solution curve as an edge curve.
- Returns:
- The pointer to the created edge curve, composed of a part of the initial curve, and the corresponding
part as a curve on the surface.
A new curve is created each time this method is called.
If you do not want to keep the created curve, use the
CATICGMContainer.Remove method.
o GetNumberOfCurves
public virtual CATLONG32 GetNumberOfCurves( | )const = 0 |
-
Returns the number of solution curves of this CATIntersectionCrvSur operator.
- Returns:
- The number of solution curves.
o GetNumberOfPoints
public virtual CATLONG32 GetNumberOfPoints( | )const = 0 |
-
Returns the number of isolated solution points of this CATIntersectionCrvSur operator.
- Returns:
- The number of isolated solution points.
o GetPCurve
-
Creates the next solution curve of this CATIntersectionCrvSur operator.
- Returns:
- The pointer to the created curve on surface. A new curve is created each time this method is called.
If you do not want to keep the created curve, use the
CATICGMContainer.Remove method.
o GetPointOnCurve
-
Creates the next solution point on curve of this CATIntersectionCrvSur operator.
- Returns:
- The pointer to the created point on curve. A new point is created each time this method is called.
If you do not want to keep the created point, use the
CATICGMContainer.Remove method.
o GetPointOnSurface
-
Returns the next solution point on surface of this CATIntersectionCrvSur operator.
- Returns:
- The pointer to the created point on surface. A new point is created each time this method is called.
If you do not want to keep the created point, use the
CATICGMContainer.Remove method.
o GetSignatureOn
-
Returns the relative orientation of the curve tangent and the surface normal at the intersection point.
- CATIntersectionSignNegative
- The scalar product between the curve tangent at the intersection point,
and the surface normal at the intersection point is negative.
- CATIntersectionSignPositive
- The scalar product between the curve tangent at the intersection point,
and the surface normal at the intersection point is positive.
o GetSurfaceParam
-
Returns the parameter on the surface of the next solution point of this CATIntersectionCrvSur operator.
- Returns:
- The parameter.
o NextCurve
-
Skips to the next solution curve of this CATIntersectionCrvSur operator.
After BeginningCurve, it skips to the first curve.
- Returns:
- The existence of the next solution.
Legal values:
- TRUE
- if there is a solution curve
- FALSE
- no more solution curve.
o NextPoint
-
Skips to the next solution point of this CATIntersectionCrvSur operator.
After BeginningPoint, it skips to the first point.
- Returns:
- The existence of the next solution.
Legal values:
- TRUE
- if there is a solution point
- FALSE
- no more solution point.
o SetCurve
public virtual void SetCurve( | const CATCurve* | iNewCurve) = 0 |
-
Defines the intersection with another curve (ADVANCED mode).
- Parameters:
-
- iNewCurve
- The pointer to the new curve.
o SetLimits
public virtual void SetLimits( | const CATCrvLimits& | iNewLimits) = 0 |
-
Modifies the curve domain to take into account for this CATIntersectionCrvSur
operator (ADVANCED mode).
It does not change the current curve
limitations.
- Parameters:
-
- iNewLimits
- The new limitations of the curve.
o SetLimits
public virtual void SetLimits( | const CATSurLimits& | iNewLimits) = 0 |
-
Modifies the surface domain to take into account for this CATIntersectionCrvSur
operator (ADVANCED mode).
It does not change the current surface
limitations.
- Parameters:
-
- iNewLimits
- The new limitations of the surface.
o SetSurface
public virtual void SetSurface( | const CATSurface* | iNewSurface) = 0 |
-
Defines the intersection with another second surface (ADVANCED mode).
- Parameters:
-
- iNewSurface
- The pointer to the new surface.
This object is included in the file: CATIntersectionCrvSur.h
If needed, your Imakefile.mk should include the module: CATGeometricOperators