Open CASCADE Technology  6.8.0
Public Member Functions
Aspect_Edge Class Reference

This class allows the definition of an edge. More...

#include <Aspect_Edge.hxx>

Public Member Functions

 Aspect_Edge ()
 Creates an edge. More...
 
 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. More...
 
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. More...
 
void Values (Standard_Integer &AIndex1, Standard_Integer &AIndex2, Aspect_TypeOfEdge &AType) const
 Returns the index of the vertices and the type of edge <me>. More...
 
Standard_Integer FirstIndex () const
 Returns the index of the begin of the edge <me>. More...
 
Standard_Integer LastIndex () const
 Returns the index of the end of the edge <me>. More...
 
Aspect_TypeOfEdge Type () const
 Returns the type of the edge <me>. More...
 

Detailed Description

This class allows the definition of an edge.

Constructor & Destructor Documentation

Aspect_Edge::Aspect_Edge ( )

Creates an edge.

Aspect_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.

Member Function Documentation

Standard_Integer Aspect_Edge::FirstIndex ( ) const

Returns the index of the begin of the edge <me>.

Standard_Integer Aspect_Edge::LastIndex ( ) const

Returns the index of the end of the edge <me>.

void Aspect_Edge::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.

Aspect_TypeOfEdge Aspect_Edge::Type ( ) const

Returns the type of the edge <me>.

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

Returns the index of the vertices and the type of edge <me>.


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