bashpika
bashpika
Branch Unspecified
30 Oct 2008

how to represent a line in data format

how to submit a line and its attributes in data format so that i can store it in database
Differential

Differential

Branch Unspecified
10 years ago
Hi and welcome to forum ! Your question is too short for us to give you reply. Please tell us in more details what you want to do !!
10 years ago
bashpika
how to submit a line and its attributes in data format so that i can store it in database
Something related to mySQL , I guess? 😒
bashpika

bashpika

Branch Unspecified
10 years ago
Thing is i have to design a software that accepts different entities in civil cad like a line or circle and its attributes and stores them in data format.this is some what like representing your name as zeros and ones in computer.some mapping is required to store these entities in dat format.this is final year project.if u need any other details to tell ask me which details u want.
thanks for ur replies
xero

xero

Branch Unspecified
10 years ago
Can you classify the entities programatically? if you can then it won't be difficult to store them. Its upto you, for the way to store it !
Prasad Ajinkya

Prasad Ajinkya

Branch Unspecified
10 years ago
Bashpika,
Why dont you store the co-ordinates of the line - instead?
Define the shape as a collection of co-ordinates for a more generic definition.
Hussanal Faroke

Hussanal Faroke

Branch Unspecified
10 years ago
I think it is easy to store by storing the attributes (coefficient of X, coefficient of Y,constant term in the line equation and color) superately.
if the color is differ at different points,as per the case we can store it us multiple lines or by storing the co-ordinates with color

Share this content on your social channels -

Only logged in users can reply.