For faster navigation, this Iframe is preloading the Wikiwand page for File:Spatial vector.png.

File:Spatial vector.png

Original file(800 × 800 pixels, file size: 53 KB, MIME type: image/png)

 
This image was created with POV-Ray.

Summary

Description Spacial vector represented in Cartesian coordinate system
Date
Source
// Made with help from http://commons.wikimedia.org/wiki/Image:Wikibooks_povray_coordinates.png
#include "colors.inc"

camera {
	location <5,5,5>
	look_at  0
	right x
	up y
}

light_source {
	<5,5,5>
	color White
	shadowless
}

background {color White}

#macro Vector(Start,Length,Direction,Diameter,Color)
merge{
	cylinder {Start,Start+(Length-.29)*Direction,Diameter pigment {Color))
	cone {(Length-.3)*Direction,Diameter*2,Start+Length*Direction,0 pigment {Color))
}
#end

Vector (0,3,x,.05,color <1,0,0,.9>)
Vector (0,3,y,.05,color <0,1,0,.9>)
Vector (0,3,z,.05,color <0,0,1,.9>)
Vector (0,1.5,x,.05001,color <1,0,0,.7>)
Vector (0,2.5,y,.05001,color <0,1,0,.7>)
Vector (0,2,z,.05001,color <0,0,1,.7>)
Vector (0,1,x,.050001,color <1,0,0,.1>)
Vector (0,1,y,.050001,color <0,1,0,.1>)
Vector (0,1,z,.050001,color <0,0,1,.1>)
Vector (0,vlength(1.5*x+2.5*y+2*z),(1.5*x+2.5*y+2*z)/vlength(1.5*x+2.5*y+2*z),.05,color <1,1,1,.7>)

#macro DashedLine(Start,Length,Direction,Diameter,Color)
cylinder {Start,Start+Length*Direction,Diameter
	pigment {
		gradient Direction
  		color_map {
			[0 color <1,1,1,1>]
			[0.24999 color <1,1,1,1>]
			[0.25 Color]
			[0.4999 Color]
			[0.5 color <1,1,1,1>]
			[0.74999 color <1,1,1,1>]
			[0.75 Color]
			[0.99999 Color]
			[1 color <1,1,1,1>]
		}
	}
}
#end

object {
	DashedLine (0,1.5,x,.05,color <1,0,0,.7>)
	translate 2*z
}
object {
	DashedLine (0,2,y,.05,color <0,1,0,.7>)
	translate 1.5*x+2*z
}
object {
	DashedLine (0,2,z,.05,color <0,0,1,.7>)
	translate 1.5*x
}

#macro Label(Place,Text,Color)
text {
	ttf "crystal.ttf" Text .1, 0
	pigment { Color }
	scale .3
	rotate <45,225,0>
	translate Place
}
#end

Label(2.85*x-.2*z,"X",color <1,0,0,.7>)
Label(2.85*y-.2*x,"Y",color <0,1,0,.7>)
Label(2.85*z-.2*x,"Z",color <0,0,1,.7>)
Label(0.85*x-.2*z,"i",color <1,0,0,.7>)
Label(0.85*y-.2*x,"j",color <0,1,0,.7>)
Label(0.85*z-.2*x,"k",color <0,0,1,.7>)
Label(1.35*x-z+.6*x,"rx=1.5i",color <1,0,0,.7>)
Label(2.35*y-.2*x,"ry=2.5j",color <0,1,0,.7>)
Label(1.85*z-.2*x,"rz=2k",color <0,0,1,.7>)

union {
	text {
		ttf "crystal.ttf" "r=rx+ry+rz=" .1, 0
		pigment { color <1,1,1,.7> }
		scale .3
	}
	text {
		ttf "crystal.ttf" " =1.5i+2.5j+2k=" .1, 0
		pigment { color <1,1,1,.7> }
		scale .3
		translate -.3*y
	}
	text {
		ttf "crystal.ttf" "        |1.5|" .1, 0
		pigment { color <1,1,1,.7> }
		scale .3
		translate -.6*y
	}
	text {
		ttf "crystal.ttf" "       =|2.5|" .1, 0
		pigment { color <1,1,1,.7> }
		scale .3
		translate -.9*y
	}
	text {
		ttf "crystal.ttf" "        | 2 |" .1, 0
		pigment { color <1,1,1,.7> }
		scale .3
		translate -1.2*y
	}
	rotate <45,225,0>
	translate 1.5*x+2.5*y+2*z-.2*x-.2*z
}
Author Nikola Smolenski
Permission
(Reusing this file)
own work


This diagram 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 “Spatial vector.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

23 January 2005

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:38, 23 January 2007Thumbnail for version as of 14:38, 23 January 2007800 × 800 (53 KB)Nikola Smolenski((Information |Description=Spacial vector represented in Cartesian coordinate system |Source=<pre> // Made with help from http://commons.wikimedia.org/wiki/Image:Wikibooks_povray_coordinates.png #include "colors.inc" camera { location <5,5,5> look_at

File usage

The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

  • Usage on pl.wikipedia.org
{{bottomLinkPreText}} {{bottomLinkText}}
File:Spatial vector.png
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?