Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, February 13, 2009 2:29:56 AM(UTC)
jackyzhang

Groups: Registered
Posts: 6


Hi,
I need to measure the lenght, perimeter and surface area of the AnnObjects and of the region. I just referenced image in the right AnnUnit, but I don't try method or class for my purpose.
I'm using C DLL with LT 16 Document toolkit. 

Thanks

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, February 15, 2009 7:21:24 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

For closed objects that have an area, such as ellipse or rectangle, you can use the L_AnnGetArea function to obtain the area.

Other than that, there are no general-purpose functions that work with object types. If the object has a ruler in it (Ruler, Protractor, Crossproduct and Polyruler), you can use the L_AnnGetDistance2 function.

About perimeter, there are no function to calculate it directly. You can only get the bounding rectangle using L_AnnGetBoundingRect.
 
#3 Posted : Thursday, March 5, 2009 3:21:41 AM(UTC)
jackyzhang

Groups: Registered
Posts: 6


thanks for your reply.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.054 seconds.