更具体一点的是,我有如下代码:template< class PointType> class NurbsCurve : public Nurbs< 1, PointType > { ... }
template< class PointType > class NurbsSurface: public Nurbs< 2, <
我永远不会有超过两个点,所以helper类只有firstPoint和secondPoint成员。我使用evt.getX()和evt.getY()获得点击并将坐标发送给helper类。anyPoint.setX(x); }public class MyPoint extends Point2D {
public enum P