コード例 #1
0
ファイル: GeometryFactory.cs プロジェクト: hipigod/Dynamo
        public ISphereEntity SphereByCenterPointRadius(IPointEntity centerPoint, double radius)
        {
            DSGeometryApplication.Check();
            ISphereEntity sph = new SphereEntity(centerPoint, radius);

            return(sph);
        }
コード例 #2
0
 public ISphereEntity SphereByCenterPointRadius(IPointEntity centerPoint, double radius)
 {
     DSGeometryApplication.Check();
     ISphereEntity sph = new SphereEntity();
     sph.UpdateSphere(centerPoint, radius);
     return sph;
 }