public Point(Region parent_, float x_, float y_, float z_) : base(parent_) { this.m_p = new Region.Point3f(x_, y_, z_); }
public float Distance(Region.Point3f other_) { return((float)Math.Sqrt(Math.Pow((double)other_.X - (double)this.X, 2.0) + Math.Pow((double)other_.Y - (double)this.Y, 2.0) + Math.Pow((double)other_.Z - (double)this.Z, 2.0))); }
public ReadOnlyCollection <Region> ChildrenWithin(Region.Point3f point_, float maxDist_) { return(this.ChildrenWithin(point_.X, point_.Y, point_.Z, maxDist_)); }
public override string ToString() { Region.Point3f point3f = this.CenterPoint(); return(string.Format("{0:0.0}, {1:0.0}, {2:0.0}", (object)point3f.X, (object)point3f.Y, (object)point3f.Z)); }
public virtual bool Contains(Region region_) { Region.Point3f point3f = this.CenterPoint(); return(this.Contains(point3f.X, point3f.Y, point3f.Z)); }