Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <br>
  in a table of vertices. <br>
  <AType> indicates if this edge is seen or not. <br>

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

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 <br>
  in a table of vertices. <br>
  <AType> indicates if this edge is seen or not. <br>

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

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: