GMModelInterfaces Interface CATICGMIntersectionCrvSur
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMIntersectionCrvSur
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 CATICGMIntersectionCrvSur operator is created with the CATCGMCreateIntersection method and
directly released with the Release method.
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.
Method Index
- o
BeginningCurve()
- Initializes the iterator of the solution curves of this
CATICGMIntersectionCrvSur operator.
- o
BeginningPoint()
- Initializes the iterator of the resulting points.
- o
GetCartesianPoint()
- Createss the next solution point of this CATICGMIntersectionCrvSur operator.
- o
GetCurveBoundaries()
- Returns the domain of the next resulting curve of this
CATICGMIntersectionCrvSur operator.
- o
GetCurveParam()
- Returns the parameter on the curve of the next solution point of this CATICGMIntersectionCrvSur operator.
- o
GetEdgeCurve()
- Creates the next solution curve as an edge curve.
- o
GetNumberOfCurves()
- Returns the number of solution curves of this CATICGMIntersectionCrvSur operator.
- o
GetNumberOfPoints()
- Returns the number of isolated solution points of this CATICGMIntersectionCrvSur operator.
- o
GetPCurve()
- Creates the next solution curve of this CATICGMIntersectionCrvSur operator.
- o
GetPointOnCurve()
- Creates the next solution point on curve of this CATICGMIntersectionCrvSur operator.
- o
GetPointOnSurface()
- Returns the next solution point on surface of this CATICGMIntersectionCrvSur 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 CATICGMIntersectionCrvSur operator.
- o
NextCurve()
- Skips to the next solution curve of this CATICGMIntersectionCrvSur operator.
- o
NextPoint()
- Skips to the next solution point of this CATICGMIntersectionCrvSur 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 CATICGMIntersectionCrvSur
operator (ADVANCED mode).
- o
SetLimits(CATSurLimits&)
- Modifies the surface domain to take into account for this CATICGMIntersectionCrvSur
operator (ADVANCED mode).
- o
SetSurface(CATSurface*)
- Defines the intersection with another second surface (ADVANCED mode).
Methods
o BeginningCurve
public virtual BeginningCurve( | ) |
-
Initializes the iterator of the solution curves of this
CATICGMIntersectionCrvSur 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 BeginningPoint( | ) |
-
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
public virtual GetCartesianPoint( | ) |
-
Createss the next solution point of this CATICGMIntersectionCrvSur 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
method.
o GetCurveBoundaries
public virtual GetCurveBoundaries( | ) |
-
Returns the domain of the next resulting curve of this
CATICGMIntersectionCrvSur operator.
- Returns:
- The corresponding limitations.
o GetCurveParam
public virtual GetCurveParam( | ) |
-
Returns the parameter on the curve of the next solution point of this CATICGMIntersectionCrvSur operator.
- Returns:
- The parameter.
o GetEdgeCurve
public virtual 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
method.
o GetNumberOfCurves
public virtual GetNumberOfCurves( | ) |
-
Returns the number of solution curves of this CATICGMIntersectionCrvSur operator.
- Returns:
- The number of solution curves.
o GetNumberOfPoints
public virtual GetNumberOfPoints( | ) |
-
Returns the number of isolated solution points of this CATICGMIntersectionCrvSur operator.
- Returns:
- The number of isolated solution points.
o GetPCurve
public virtual GetPCurve( | ) |
-
Creates the next solution curve of this CATICGMIntersectionCrvSur 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
method.
o GetPointOnCurve
public virtual GetPointOnCurve( | ) |
-
Creates the next solution point on curve of this CATICGMIntersectionCrvSur 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
method.
o GetPointOnSurface
public virtual GetPointOnSurface( | ) |
-
Returns the next solution point on surface of this CATICGMIntersectionCrvSur 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
method.
o GetSignatureOn
public virtual 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
public virtual GetSurfaceParam( | ) |
-
Returns the parameter on the surface of the next solution point of this CATICGMIntersectionCrvSur operator.
- Returns:
- The parameter.
o NextCurve
public virtual NextCurve( | ) |
-
Skips to the next solution curve of this CATICGMIntersectionCrvSur 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
public virtual NextPoint( | ) |
-
Skips to the next solution point of this CATICGMIntersectionCrvSur 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 SetCurve( | const | iNewCurve) |
-
Defines the intersection with another curve (ADVANCED mode).
- Parameters:
-
- iNewCurve
- The pointer to the new curve.
o SetLimits
public virtual SetLimits( | const | iNewLimits) |
-
Modifies the curve domain to take into account for this CATICGMIntersectionCrvSur
operator (ADVANCED mode).
It does not change the current curve
limitations.
- Parameters:
-
- iNewLimits
- The new limitations of the curve.
o SetLimits
public virtual SetLimits( | const | iNewLimits) |
-
Modifies the surface domain to take into account for this CATICGMIntersectionCrvSur
operator (ADVANCED mode).
It does not change the current surface
limitations.
- Parameters:
-
- iNewLimits
- The new limitations of the surface.
o SetSurface
public virtual SetSurface( | const | iNewSurface) |
-
Defines the intersection with another second surface (ADVANCED mode).
- Parameters:
-
- iNewSurface
- The pointer to the new surface.
This object is included in the file: CATICGMIntersectionCrvSur.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.