PolyLine, Line, Length
Moderators: SDS, support, admin
PolyLine, Line, Length
How can I get the PolyLine's Length? Or Line's Length?
I didn't find this property.
Is there some math to calculate this?
I didn't find this property.
Is there some math to calculate this?
Re: PolyLine, Line, Length
Well, i think i solved the problem.
I sum the distances of each DPoint belonging to the PolyLine, as well the Line.
I sum the distances of each DPoint belonging to the PolyLine, as well the Line.
Re: PolyLine, Line, Length
Now i'm in trouble here.
I have to calculate the length of an ellipse.
Anyone knows how can I do that with the properties Ratio, RadPt and/or Angle?
I have to calculate the length of an ellipse.
Anyone knows how can I do that with the properties Ratio, RadPt and/or Angle?
Re: PolyLine, Line, Length
Hello Joba!
You can calculate the lenght of an ellipse by two ways:
- Summarize the distances of each DPoint like you did for PolyLine;
- Calculate lenght mathematically. For this you will need RadPt and Ratio properties of CADEllipse class to calculate major and minor half axes of an ellipse.
Alexander
You can calculate the lenght of an ellipse by two ways:
- Summarize the distances of each DPoint like you did for PolyLine;
- Calculate lenght mathematically. For this you will need RadPt and Ratio properties of CADEllipse class to calculate major and minor half axes of an ellipse.
Alexander
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support