Open CASCADE Technology 6.6.0
Public Member Functions
Aspect_Edge Class Reference

This class allows the definition of an edge.

#include <Aspect_Edge.hxx>

Public Member Functions

 Aspect_Edge ()
 Creates an edge.

 Aspect_Edge (const Standard_Integer AIndex1, const Standard_Integer AIndex2, const Aspect_TypeOfEdge AType)
 Creates an edge from an index of vertices
in a table of vertices.
<AType> indicates if this edge is seen or not.
Warning: Raises EdgeDefinitionError if AIndex1 == AIndex2.

void SetValues (const Standard_Integer AIndex1, const Standard_Integer AIndex2, const Aspect_TypeOfEdge AType)
 Updates the values of an edge <me>.
Warning: Raises EdgeDefinitionError if AIndex1 == AIndex2.

void Values (Standard_Integer &AIndex1, Standard_Integer &AIndex2, Aspect_TypeOfEdge &AType) const
 Returns the index of the vertices and the
type of edge <me>.

Standard_Integer FirstIndex () const
 Returns the index of the begin of the edge <me>.

Standard_Integer LastIndex () const
 Returns the index of the end of the edge <me>.

Aspect_TypeOfEdge Type () const
 Returns the type of the edge <me>.


Constructor & Destructor Documentation

Aspect_Edge::Aspect_Edge ( )
Aspect_Edge::Aspect_Edge ( const Standard_Integer  AIndex1,
const Standard_Integer  AIndex2,
const Aspect_TypeOfEdge  AType 
)

Member Function Documentation

Standard_Integer Aspect_Edge::FirstIndex ( ) const
Standard_Integer Aspect_Edge::LastIndex ( ) const
void Aspect_Edge::SetValues ( const Standard_Integer  AIndex1,
const Standard_Integer  AIndex2,
const Aspect_TypeOfEdge  AType 
)
Aspect_TypeOfEdge Aspect_Edge::Type ( ) const
void Aspect_Edge::Values ( Standard_Integer AIndex1,
Standard_Integer AIndex2,
Aspect_TypeOfEdge AType 
) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines