Ngon_CComplex
An ngon is a 2-dimensional ccomplex bounded by a sequence of connected
Segment_CComplexes. Member functions
access these segments and their vertices by integer indexes.
Implementations:
Member functions:
- edge: Ngon_CComplex . int -> Segment_CComplex
Returns the edge at the index.
- edge_num: Ngon_CComplex . Segment_CComplex -> int
Returns the index of the edge.
- num_edges: Ngon_CComplex -> int
Returns the number of edges in the complex.
- num_vertices: Ngon_CComplex -> int
Returns the number of vertices in the complex.
- set_edge: Ngon_CComplex . int . Segment_CComplex ->
void
Sets the edge at the index.
- vertex: Ngon_CComplex . int -> Point_CComplex
Returns the vertex at the index.
- vertex_num: Ngon_CComplex . Point_CComplex -> int
Returns the index of the vertex.
Secondary operations:
- construct: Ngon_CComplex . int . Segment_CComplex ... -> void
Sets the edges of the ngon from the given edges.