» Home » Point » Page 1
Find Control Point for QuadraticBezierSegment when given Start, End, and 1 Point lying along the bezier in C# - QuadraticBezier 3-point Interpolation
Category : C & C++ & C#

This is Similar to a previous question I asked about the Cubic Bezier. I've got a start point, an endpoint, and a point that is meant to lie along a Quadratic Bezier. Given these three points I want to be able to draw a QuadraticBezierSegment in WPF, but I need the single ControlPoint value (in the QuadraticBezierSegment it's Point1) in order to draw it.

Is there a calculation or

View Replies

Matlab Simulation: Point (symbol) Moving from start point to end point and back
Category : Web Design

I would like to create an animation to demonstrate LDPC coding which is based on Sum-Product Algorithm

So far I have created a graph which shows the connections between symbol nodes (left) and parity nodes (right) and would like to animate points travelling from symbol to parity nodes and back.

The figure is drawn by executing the following method:


View Replies

Operator +(Vector) for Point - but the Vector uses Point and it's undeclared in Point declaration
Category : Programming Languages

I have the code:

class Point3D{
float x;
float y;
float z;
Point3D(){x=0; y=0; z=0;}
Point3D(const Point3D & point){x = point.x; y = point.y; z = point.z;}
Point3D(float _x,float _y,float _z){x = _x; y = _y; z = _z;}
class Vector3D{

View Replies

Finding orientation (Clockwise or anticlockwise) of the point with respect to some another point in x-y coordinate system
Category : Coding

I have a problem and a solution both. What I want to know is that how to arrive to "that" solution. "That" solution is perfect and working fine for all possible combinations.

This is a vector mathematics kind of question.

See, assume that you have three points in the XY coordinate system : P1(x1, y1), P2(x2, y2) and P3(x3, y3).

Now join the point P2 with P3.

View Replies

How to plot Google Map Markers dynamically (point-by-point) using AJAX update Panel
Category : Programming Languages

Basically What I'm Asking is, "Once the Page is loaded, how can I run a "for" loop, and show the output of each iteration at a time. (example could be a simple for loop and adding the variable i, to a listbox in a page)"

A example showing how to add items one-by-one (not all at once) to a listbox would solve the problem for me:

for (int i = 0; i<5,i++)

View Replies

How do you draw a line from previous point to current point in Android Google Maps?
Category : Android

I am trying to create a GPS tracking app, and is stuck on how I can draw a line from the previous point to current point. I've tried using an Overlay, but it does not display... I am not THAT good on Java, so please speak to me like I'm 4 years old...

public void onCreate(Bundle savedInstanceState) {

View Replies

How to find a point in the Earth surface given an origin point, distance and direction (azimuth)
Category : Web Design

The previous question "Geoalgorithm for finding coordinates of point from a known location by distance and bearing" asks the same thing, but the solution found is a rough approximation. I want a more accurate solution. I am comparing the results with the Great Circle Distance formulas, which is one of the best Geographical Distance formulas known.

View Replies

Is it possible to place a focus point on a page, so if content changes, the scroll bar moves with that point?
Category : Programming Languages

My question is pretty much as the title suggests, I have a message board which constantly expands and pushes messages down when new ones are added. I want to be able to lock the scroll to a message for example so the page scroll bar moves when the message board extends to keep the same view of messages that you had initially. Is this possible with jquery? Any advice appreciated.

View Replies

Calculate second point knowing the starting point, speed,Time Span, and course
Category : Programming Languages

I have a current position: Latitude and Longitude values in degrees (Point A), and the same for the final position (Point B).
I need to calculate the course (also in degrees) between the two points and than with given speed (in km/s) and timespan (in seconds) to calculate the new position.

Example (Pseudo code):

PointA.Lat = x.xxxx;
PointA.Lng = x.xxxx;

View Replies

cocos2d calculate destination point given start point, angle and distance
Category : Programming Languages

Quick one I think. 2d problem in Cocos2d and xcode.

I have

CGPoint currPoint;
float lineLength;
float angle;

Now, I need to find the point that is lineLength away from currPoint at angle Degrees.

Tried to search, but the answers i have found aren't quite what I was looking for. Would appreciate anyone pointing out the (I ass

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .