2d
How can I get the "front" of a parallelogram given 4 points and an angle
This should be a simple matter, but for some reason I can\'t grasp it. I have a parallelogram, defined as four points (in anti-clockwise order, but apart from that I do not know which corner is which[详细]
2023-03-25 02:11 分类:问答drawRect unit issues android
I am trying to keep track of the bounding Rect for a child TextView inside of a class extending LinearLayout I am using View.getGlobalVisibleRect(Rect) in order to get the TextView\'s bounding box rel[详细]
2023-03-24 15:33 分类:问答motion and velocity to increment amount and vice versa
I don\'t really know math well beyond Algebra 1, however I can usually \"hack\" a math book and make the equations work in software I write - I\'m trying to write a program that has objects moving ons[详细]
2023-03-24 00:11 分类:问答Creating 3D volume from 2D slice set of grayscale images
I am to create a 3D volume out of grayscale image set using Matlab. A set contains a continuous and quantized slices of 2D grayscale image. I am still considered myself a r开发者_运维知识库ookie in Ma[详细]
2023-03-23 22:41 分类:问答Find out pixels of an image under a vector
This might be a simple problem but I can\'t manage to solve it. I\'ve got this heightmap which I need to process. I must allow the user to trace a vector over an image, indicating which \"line\" of开[详细]
2023-03-23 15:14 分类:问答Programmatically Reducing JPEG file size
Apologies for any ignorance, but I have never worked with jpeg images (let alone any types of images) in Java before.[详细]
2023-03-22 19:45 分类:问答Efficient algorithm for collisions in 2D game?
I\'m开发者_JAVA技巧 programming a Bomberman in Java following a tutorial (this is my first game).[详细]
2023-03-22 10:45 分类:问答Interpolating along the 2-D image slices
I have a set of 100 2-D image slices of the same size. I have used MATLAB to stack them to create a volumetric data. While the size o开发者_运维知识库f the 2-D slices is 480x488 pixels, the direction[详细]
2023-03-22 08:03 分类:问答How to approach Java 2D performance variations between different computers?
I\'ve been designing a card game in Java on Windows. It runs really well on my laptop and a few others, but o开发者_开发问答n a lot of other systems (even a few newer ones both Mac and Windows) the an[详细]
2023-03-22 04:10 分类:问答Custom line drawing in WPF
I\'m trying to manually draw a line in WPF by overriding the OnRender method of a control and calling the DrawLine method on the given DrawingContext. I read somewhere that this method call doesn\'t i[详细]
2023-03-22 02:19 分类:问答