Beispiel #1
0
 public IConeEntity ConeByPointsRadii(IPointEntity startPoint, IPointEntity endPoint, double startRadius, double endRadius)
 {
     DSGeometryApplication.Check();
     ConeEntity cone = new ConeEntity();
     cone.UpdateCone(startPoint, endPoint, startRadius, endRadius);
     return cone;
 }
Beispiel #2
0
        public IConeEntity ConeByPointsRadii(IPointEntity startPoint, IPointEntity endPoint, double startRadius, double endRadius)
        {
            DSGeometryApplication.Check();
            ConeEntity cone = new ConeEntity();

            cone.UpdateCone(startPoint, endPoint, startRadius, endRadius);
            return(cone);
        }
Beispiel #3
0
        public IConeEntity ConeByRadiusLength(ICoordinateSystemEntity cs, double startRadius, double endRadius, double height)
        {
            DSGeometryApplication.Check();
            ConeEntity   cone       = new ConeEntity();
            IPointEntity startPoint = cs.Origin;
            IPointEntity endPoint   = new PointEntity(cs.Origin.X, cs.Origin.Y, cs.Origin.Z + height);

            cone.UpdateCone(startPoint, endPoint, startRadius, endRadius);
            return(cone);
        }
Beispiel #4
0
 public IConeEntity ConeByRadiusLength(ICoordinateSystemEntity cs, double startRadius, double endRadius, double height)
 {
     DSGeometryApplication.Check();
     ConeEntity cone = new ConeEntity();
     IPointEntity startPoint = cs.Origin;
     IPointEntity endPoint = new PointEntity(cs.Origin.X, cs.Origin.Y, cs.Origin.Z + height);
     cone.UpdateCone(startPoint, endPoint, startRadius, endRadius);
     return cone;
 }