Class Point

  • All Implemented Interfaces:
    ISingleColorable, IGLRenderer, ISortableDraw
    Direct Known Subclasses:
    CameraDistanceAnnotation, PickablePoint

    public class Point
    extends Drawable
    implements ISingleColorable
    A Point3d is a storage for a Coord3d and a Color that represents a drawable 3d point.
    The Point3d is used for:
    • adding a Point3d to a Graph.
    • providing to other primitives (e.g. Polygon) a way to associate a coordinate and a color.

    A Point3d is defined by the following methods:
    • setData() defines the point's position
    • setColor() defines the point's color
    • setWidth() defines the point's width
    Author:
    Martin Pernollet