Class DSurface

Direct Known Subclasses:
ConvexHull

public class DSurface extends Surface
A class representing a dynamic surface.
Version:
1.1
Author:
Chris Pudney cpudney@alphapharm.pharm.uwa.edu.au
  • Constructor Details

    • DSurface

      public DSurface()
  • Method Details

    • addFace

      public void addFace(Polygon p)
      Add a polygonal face to a surface.
      Parameters:
      p - a polygon representing the face
    • addFaces

      public void addFaces(Vector v)
      Add a set of polygonal faces to a surface.
      Parameters:
      v - vector of polygonal faces
    • deleteFace

      public boolean deleteFace(Polygon p)
      Delete a polygonal face from a surface.
      Parameters:
      p - a polygon representing the face
      Returns:
      true if the operation is successful, false otherwise