GMModelInterfaces Interface CATVertex
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATVertex
Interface representing a topological vertex.
A vertex is a topological cell which geometry is a
point. Vertices are used to define the extremities of an edge, but they can also
be immersed in faces, volumes or 3D space.
A vertex is created with the or
methods and deleted with the
method.
Method Index
- o
CreateRadialIterator(CATBody*,CATTopData*)
- Creates an iterator on the CATEdge bounded by this CATVertex.
- o
EvalSharpness(CATEdge*,CATEdge*,CATTopGeoContinuity&,CATAngle*,CATTopSign*,CATBoolean*,CATAngle)
- Returns the continuity of this CATVertex with respect to 2 bounded edges.
- o
GetGeometryOnEdge(CATEdge*,CATSide&)
- Returns the geometry of this CATVertex with respect to a given edge.
- o
GetParamOnEdgeCurve(CATEdge*,CATEdgeCurve*&,CATCrvParam&,CATSide&)
- Returns the geometry of this CATVertex with respect to a given edge as a
parameter on a CATEdgeCurve.
- o
GetPoint()
- Returns the geometry of this CATVertex.
- o
SetGeometryOnEdge(CATEdge*,CATSide&,CATPointOnEdgeCurve*)
- Sets the geometry of this CATVertex with respect to a given edge.
- o
SetPoint(CATPoint*)
- Sets a the geometry of this CATVertex.
- o
SetSharpness(CATEdge*,CATEdge*,CATTopGeoContinuity,CATAngle)
- Defines the continuity of this CATVertex with respect to 2 bounded edges.
- o
UnlinkUselessGeometry(CATPoint*,CATBoolean)
- Removes useless components from the CATMacroPoint.
Methods
o CreateRadialIterator
public virtual CreateRadialIterator( | | iInBody, |
| const | iData | = 0) |
-
Creates an iterator on the CATEdge bounded by this CATVertex.
- Parameters:
-
- iInBody
- The pointer to the body in which the bounded edges are searched.
- iTopData
- The object defining the CATSoftwareConfiguration and the CATCGMJournalList.
- Returns:
- The pointer to the created iterator. You must delete this operator after use.
o EvalSharpness
public virtual EvalSharpness( | | iEdge1, |
| | iEdge2, |
| | oContinuity, |
| | oAngle | = NULL, |
| | oOrientation | = NULL, |
| | oDefinedContinuity | = NULL, |
| | iMinSharpAngle | = CATTopSharpAngle) |
-
Returns the continuity of this CATVertex with respect to 2 bounded edges.
- Parameters:
-
- iEdge1
- The first edge bounded by this.
- iEdge2
- The second edge bounded by this.
- oContinuity
- The evaluated continuity :
Possible values:
- CATSharp
-
- CATSmooth
-
- oAngle
- Used to ouput the angle between the two edges.
If NULL, this argument is not filled out.
- oOrientation
- Used to ouput the correct orientation of the second edge.
If NULL, this argument is not filled out.
- oDefinedContinuity
- The way the continuity has been filled out (stored or computed).
Legal values:
- TRUE
- if SetContinuity has been previously applied.
- FALSE
- geometric evaluation of continuity.
If NULL, this argument is not filled out.
- iMinSharpAngle
- Minimum angle value for which the vertex is declared Sharp
- o GetGeometryOnEdge
-
public virtual GetGeometryOnEdge( | | iBoundedEdge, |
| const | iSide | = CATSideUnknown) |
-
Returns the geometry of this CATVertex with respect to a given edge.
- Parameters:
-
- iBoundedEdge
- The pointer to an edge bounded by this.
- iSide
- The start or end point of the edge. If you do not specify the CATSide,
this method raises an exception if iBoundedEdge start and end
vertices are the same.
- Returns:
- The pointer to the corresponding geometry.
- o GetParamOnEdgeCurve
-
public virtual GetParamOnEdgeCurve( | | iBoundedEdge, |
| | oEdgeCurve, |
| | ioParamOnEdgeCurve, |
| const | iSide | = CATSideUnknown) |
-
Returns the geometry of this CATVertex with respect to a given edge as a
parameter on a CATEdgeCurve.
- Parameters:
-
- iBoundedEdge
- The pointer to an edge bounded by this.
- oEdgeCurve
- The pointer to the edge curve, geometry of iBoundedEdge.
- ioParamOnEdgeCurve
- The parameter on iBoundedEdge of this.
- iSide
- The start or end point of the edge. If you do not specify the CATSide,
this method raises an exception if iBoundedEdge start and end
vertices are the same.
- o GetPoint
-
public virtual GetPoint( | ) |
-
Returns the geometry of this CATVertex.
- Returns:
- The pointer to the geometric point.
- o SetGeometryOnEdge
-
public virtual SetGeometryOnEdge( | | iBoundedEdge, |
| const | iSide, |
| | iPtOnCrv) |
-
Sets the geometry of this CATVertex with respect to a given edge.
- Parameters:
-
- iBoundedEdge
- The pointer to an edge bounded by this.
- iSide
- The start or end point of the edge.
- iPtOnCrv
- The pointer to the geometry of the vertex, as bounding iBoundedEdge.
- o SetPoint
-
public virtual SetPoint( | | iPoint) |
-
Sets a the geometry of this CATVertex.
- Parameters:
-
- iPoint
- The pointer to the geometric point. This point must be a CATMacroPoint.
- o SetSharpness
-
public virtual SetSharpness( | | iEdge1, |
| | iEdge2, |
| | iContinuity, |
| | iMinSharpAngle | = CATTopSharpAngle) |
-
Defines the continuity of this CATVertex with respect to 2 bounded edges.
- Parameters:
-
- iEdge1
- The first edge bounded by this.
- iEdge2
- The second edge bounded by this.
- iContinuity
- The tangential continuity.
Legal values:
- CATSharp
-
- CATSmooth
-
- iMinSharpAngle
- Minimum angle value for which the vertex is declared Sharp
- o UnlinkUselessGeometry
-
public virtual UnlinkUselessGeometry( | | iSpecificPoint | = NULL, |
| | iRemoveFromFactory | = TRUE ) |
-
Removes useless components from the CATMacroPoint.
Only points with no more topological links will be detached from the CATMacroPoint.
- Parameters:
-
- iSpecificPoint
- The specific point to analyze. If NULL, all components of the CATMacroPoint
are taken into account.
- iRemoveFromFactory
- The complementary action on an useless component of CATMacroPoint.
Dedicated to the case where no more links inside the CATGeoFactory refers to iSpecificPoint.
Legal values:
- FALSE
- iSpecificPoint point remains in the factory
- TRUE
- iSpecificPoint point is removed from the factory with its dependancies.
This object is included in the file: CATVertex.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.