Core Library
A simple library for handling 3D scenes
Vertex Class Reference

The Vertex class represents a vertex with a single attribute (vertex coordinates).

#include <vertex.h>

Public Member Functions

 Vertex (const Point &coords)
 
Point coord () const
 
void setCoord (const Point &coord)
 

Constructor & Destructor Documentation

Vertex::Vertex ( const Point coords)

Constructs a vertex with the given (x,y,z) coordinates.

Member Function Documentation

Point Vertex::coord ( ) const

Returns the (x,y,z) coordinates of the vertex.

void Vertex::setCoord ( const Point coord)

Sets the (x,y,z) coordinates of the vertex.