public List <Point3d> getPoints(TBPoint startp) { TBPLineSegment seg = this; if (startp == this.StartPoint) { } else if (startp == this.EndPoint) { seg = this.newReverse(); } else { return(null); } return(seg.getPoints()); }