Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace ex1
- {
- class point : Base
- {
- protected internal point():base()
- {
- }
- protected internal point(int a, int b, int c):base(a,b,c)
- {
- }
- protected internal point Middle()
- {
- point t = new point(this.I1 / 2, this.I2 / 2, this.I3 / 2);
- return t;
- }
- protected internal List<point> Symmetry(List<point> list)
- {
- point p = new point(0 - this.I1, this.I2, this.I3);
- list.Add(p);
- point p1 = new point(this.I1, 0-this.I2, this.I3);
- list.Add(p1);
- point p2 = new point(this.I1, this.I2, 0-this.I3);
- list.Add(p2);
- return list;
- }
- protected internal List<point> Projection(List<point> list)
- {
- point p = new point(0 , this.I2, this.I3);
- list.Add(p);
- point p1 = new point(this.I1, 0 , this.I3);
- list.Add(p1);
- point p2 = new point(this.I1, this.I2, 0 );
- list.Add(p2);
- return list;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement