படிமம்:Signed distance2.png

மற்ற மொழிகளில் ஆதரிக்கப்படாத பக்க உள்ளடக்கம்.
கட்டற்ற கலைக்களஞ்சியமான விக்கிப்பீடியாவில் இருந்து.

மூலக்கோப்பு(1,025 × 1,856 படவணுக்கள், கோப்பின் அளவு: 38 KB, MIME வகை: image/png)

இது விக்கிமீடியா பொதுக்கோப்பகத்தில் இருக்கும் ஒரு கோப்பாகும். இக்கோப்பைக் குறித்து அங்கே காணப்படும் படிம விளக்கப் பக்கத்தை இங்கே கீழே காணலாம்.
பொதுக்கோப்பகம் ஒரு கட்டற்ற கோப்புகளின் சேமிப்பகமாகும். நீங்களும் உதவலாம்.

சுருக்கம்

விளக்கம் Made by myself with Matlab.
நாள் 1 மார்ச்சு 2007 (original upload date)
மூலம் சொந்த முயற்சி
ஆசிரியர் Oleg Alexandrov

அனுமதி

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
சில நாடுகளில் இது சாத்தியமில்லாது போகலாம். அவ்வாறாயின் :
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
 
This diagram was created with MATLAB.

Source code (MATLAB)

 

function main ()

% init stuff
   M=3;  lw=2.5;
   h=0.1; ii = sqrt(-1);
   XX = (-M):h:M; YY = (-M):h:M;
   [X, Y] = meshgrid (XX, YY);

% the surfce determining the contour
   type = 2; % the contour is a circle for type == 1 and something more complex otherwise

   if type == 1
      height = 2;
      Z=height - X.^2-Y.^2;
   else
      height = 0.7;
      Z=height-0.5*(X-1.78).*X.^2.*(X+1.78)-Y.^2;  % Z=f(X, Y) -surface
   end

% find the contour
%figure(1); subplot(2, 1, 1);
   figure(1); clf;
   [C, H] = contour(X, Y, Z, [0, 0]);
   set(H, 'linewidth', lw, 'EdgeColor', [0;0;156]/256);

% draw the region inside the contour
%   figure(1); subplot(2, 1, 1);
   figure(1); 
   clf; hold on; axis equal; axis off; 
   
   l=C(2, 1);
   CX=C(1,2:(l+1));  CY=C(2,2:(l+1)); % get x and y of contours
   H=fill(CX, CY, 0.6*[1, 1, 1]); set(H, 'EdgeColor', 'none'); % draw the shap

   % a hack to make the box look bigger
   white = 0.99*[1, 1, 1]; scale=1.4;
   plot(-scale*M, -scale*M, '*', 'color', white)
   plot(scale*M, scale*M, '*', 'color', white)
   
% calc the unsigned distance function
   Dist = 0*Z+1000;
   for i=1:length(XX)
      for j=1:length(YY)
	 x=X(i, j); y=Y(i, j);
	 for k=1:length(CX)
	    x0=CX(k);
	    y0=CY(k);
	    Dist(i, j) = min(Dist(i, j), sqrt((x-x0)^2+(y-y0)^2));
	 end
      end
   end
   

% signed distance
   Dist = sign(Z).*Dist;
   
% draw the signed distance
%   figure(1); subplot(2, 1, 2);
   figure(2); clf;
   hold on; axis equal; axis off;
   surf(X, Y, Dist, 'FaceColor','red', 'EdgeColor','none', 'FaceAlpha', 1);

% draw the x-y plane (the intersection of the surface above and this plane is the contour of our set)
   surf(X, Y, zeros(length(XX), length(YY)), 'FaceColor','blue', 'EdgeColor','none', 'FaceAlpha', 0.4)
   
   camlight left;lighting phong; % make nice lightning
   view(42, 22)        % angle of view (polar coordinates)

% save to file
   figure(1);   saveas(gcf, sprintf('Set%d.eps', type), 'psc2');
   figure(2);   saveas(gcf, sprintf('Function%d.eps', type), 'psc2');

% then use the following to convert to png
%   convert -append Set2.eps Function2.eps signed_distance2.png
This math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.


It is recommended to name the SVG file “Signed distance2.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts ஆங்கிலம்

some value

Wikimedia username ஆங்கிலம்: Oleg Alexandrov
author name string ஆங்கிலம்: Oleg Alexandrov

source of file ஆங்கிலம்

original creation by uploader ஆங்கிலம்

1 மார்ச்சு 2007

கோப்பின் வரலாறு

குறித்த நேரத்தில் இருந்த படிமத்தைப் பார்க்க அந்நேரத்தின் மீது சொடுக்கவும்.

நாள்/நேரம்நகம் அளவு சிறுபடம்அளவுகள்பயனர்கருத்து
தற்போதைய23:48, 30 ஏப்பிரல் 200723:48, 30 ஏப்பிரல் 2007 இலிருந்த பதிப்புக்கான சிறு தோற்றம்1,025 × 1,856 (38 KB)Oleg Alexandrov{{Information |Description= |Source= |Date= |Author= }}
04:34, 1 மார்ச்சு 200704:34, 1 மார்ச்சு 2007 இலிருந்த பதிப்புக்கான சிறு தோற்றம்1,026 × 1,856 (60 KB)Oleg AlexandrovMade by myself with Matlab.

பின்வரும் பக்க இணைப்புகள் இப் படிமத்துக்கு இணைக்கபட்டுள்ளது(ளன):

கோப்பின் முழுமையான பயன்பாடு

கீழ்கண்ட மற்ற விக்கிகள் இந்த கோப்பை பயன்படுத்துகின்றன:

"https://ta.wikipedia.org/wiki/படிமம்:Signed_distance2.png" இலிருந்து மீள்விக்கப்பட்டது