In mathematics, a curve (also called a curved line in older texts) is, generally speaking, an object similar to a line but which is not required to be straight.
Questions tagged [curve]
1306 questions
0
votes
2 answers
thick bezier curve consist of lines in c#
I created bezier curve in C#. I compute result points of curve in some interval and I connect these points with a lines (g.drawLine). When I want curve which is 1px fat, all is right. But when I want thick this curve, occours problem. This problem…

Ondřej Ryška
- 461
- 1
- 11
- 23
0
votes
1 answer
Why it isn't circle?
I'm learning about 2D graphics and I'm trying to draw circle, but I get some strange curve.
function rotatePoint (point, centerPoint, theta) {
point[0] = point[0] - centerPoint[0];
point[1] = point[1] - centerPoint[1];
point[0] =…

Isinlor
- 1,111
- 1
- 13
- 22
0
votes
1 answer
What does RiBasis which is described in RenderMan mean?
I'm working on a plugin of 3ds Max. In this plugin, I export the geometry information into a .rib file which can be rendered by a RenderMan renderer. When I export a nubrs curve's data into .rib file described by RiBasis and RiCurve. I use the…

mhsj
- 11
- 2
0
votes
1 answer
how to know if the curve is intersect with the red line
this curve is consist of these points. i want to know if the red line intersect with the curve. the red line is consist of PointA and PointB. what can i do ?

badboy_tqj
- 300
- 2
- 14
0
votes
2 answers
Plot a change point curve in one command
I want to plot a curve that has a change point at x=5
Until now I am using the code
curve(exp(0.68+0.92*x), from=0,to=5, xlim=c(0,12), ylim=c(0,500))
curve(exp(0.68+0.92*x-0.7*(x-5)), from=5,to=12, add=T)
Is it possible to write it in one line (one…

ECII
- 10,297
- 18
- 80
- 121
0
votes
1 answer
border-radius for specific element not rendered in Chrome
Here is my site:
http://splash.inting.org/wp/
On the right sidebar, I have two elements, the reg form on top and the small slider at the bottom. Both have the same border-radius styles implemented but the one in the bottom does not have the curved…

AnimaSola
- 7,146
- 14
- 43
- 62
0
votes
1 answer
Draw curve like "InterpCrv" (Curve: Interpolate Points) in Rhinoceros 4.0
Could you please help me with drawing curves.
Curve in Rhinoceros 4.0:
http://habrastorage.org/storage2/6be/922/279/6be9222791436832a5374264ac877606.png
When I use DrawCurve in C#, I have ugly curve…

Denis Nikolayev
- 43
- 7
0
votes
2 answers
Surface in box2das3
I'm using box2dflash for as3 and i need to create curvy ground like this.
Facts:
I can't create one solid object as far as I know because box2d support convex objects;
I didn't find any line-based objects.
Question:
Is there any better way than…

user1561713
- 85
- 7
0
votes
2 answers
Storing a curve in a django model as manytomany?
I have a list of products (say diodoes) which have a curve associated to them.
For example,
Diode 1: curve 1: [(0,1),(1,3),(2,10), ...., (100,0.5)]
Diode 2: curve 2: [(0,2),(1,4),(2.1,19), ..., (100,0)]
So for each product there is a curve (with…

Massagran
- 1,781
- 1
- 20
- 29
0
votes
1 answer
How to make a dynamic curve with ZedGraph in C#?
I need to create a dynamic graph in ZedGraph where each of the points on a new curve are functions of points on the previous curve. Giving the overall effect the whole curve is moving/evolving on the axis.
I have a loop in which I calculate the next…

user1763430
- 77
- 1
- 7
0
votes
2 answers
How can I create curves with openGL ES android
I'm currently working through a set of tutorials on Android OpenGL ES (1.1) and feel like I'm starting to get a grasp of how the vertices and textures work, along with some sprite animation. As I understand, the only primitives here are points,…

unusualhabit
- 103
- 1
- 4
0
votes
1 answer
Cocos2d - Moving objects in a curved path with different velocities
I'm trying to develop a game where cars move along roads and stop according to the signal of the traffic lights. They've got different velocities. Sometimes cars need to decelerate in order to not hit the leading car. They need to stop at the red…

Mikayil Abdullayev
- 12,117
- 26
- 122
- 206
0
votes
1 answer
Drawing polar curve Lemiscate bug
I´m trying to draw a lemiscate. My code isn't drawing the curve correctly. Why does the line start or end at the point 0,0 (left corner)?
private void drawLemiscate(Graphics g, int a, int Sx,int Sy)
{
int x, y;
Point[] p = new…

user1097772
- 3,499
- 15
- 59
- 95
0
votes
1 answer
Load Curve from file instead using Content Manager
I'm looking to load a Curve file in XNA but not through the content manager process e.g. Load("").
Is there any way to do this?
For example:
Curve curve = new Curve("filename"); or
Curve curve = Curve.FromFile("filename"); // similar to loading…

Simon Jefferies
- 415
- 4
- 16
0
votes
1 answer
Curve making UI that imitates that of Powerpoint and Photoshop in C#
I've been working on a program in C# that involves image editing and animating.
I discovered that I need an interface that allows my users to draw curves.
I decided that the system that Photoshop and Powerpoint use is pretty intuitive.
I searched…

Jacklynn
- 1,503
- 1
- 13
- 23