ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I want acDbLine Length?

2 REPLIES 2
Reply
Message 1 of 3
newlbc
446 Views, 2 Replies

I want acDbLine Length?

I Want AcDbLine Length Value like Vb AcadDbLine.Length property
But I can't search AcDbLine.Length.
Help!
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: newlbc

[code]
double len = (pLine->endPoint() - pLine->startPoint()).length();
[/code]
Message 3 of 3
Anonymous
in reply to: newlbc

or
double len = pLine->endPoint().distanceTo(pLine->startPoint());


wrote in message news:5434740@discussion.autodesk.com...
[code]
double len = (pLine->endPoint() - pLine->startPoint()).length();
[/code]

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost