Class HalfSpace

java.lang.Object
au.edu.unsw.cse.HalfSpace

public class HalfSpace
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    HalfSpace​(Point3d a, Point3d b)
    Create a half space parallel to z axis
    HalfSpace​(Point3d a, Point3d b, Point3d c)
    Create a half space
  • Method Summary

    Modifier and Type Method Description
    boolean inside​(Point3d x)  
    double zint​(Point3d p)
    z coordinate of intersection of a vertical line through p and boundary plane

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HalfSpace

      public HalfSpace​(Point3d a, Point3d b, Point3d c)
      Create a half space
    • HalfSpace

      public HalfSpace​(Point3d a, Point3d b)
      Create a half space parallel to z axis
  • Method Details

    • inside

      public boolean inside​(Point3d x)
    • zint

      public double zint​(Point3d p)
      z coordinate of intersection of a vertical line through p and boundary plane