Esempio n. 1
0
 /// <summary>
 /// Projection onto the Vector.
 /// </summary>
 /// <param name="Vector">Vector to project on.</param>
 /// <param name="Interval">Ouput. Projection.</param>
 public override void Project(C2DVector Vector, CInterval Interval)
 {
     P1.Project(Vector, Interval);
     Interval.ExpandToInclude(P2.Project(Vector));
     Interval.ExpandToInclude(P3.Project(Vector));
 }
Esempio n. 2
0
 /// <summary>
 /// Projects this onto the line given.
 /// </summary>
 /// <param name="Line">Line to project on.</param>
 /// <param name="Interval">Ouput. Projection.</param>
 public override void Project(C2DLine Line, CInterval Interval)
 {
     P1.Project(Line, Interval);
     Interval.ExpandToInclude(P2.Project(Line));
     Interval.ExpandToInclude(P3.Project(Line));
 }