GeomItem Class

 
Declaration
class GeomItem : virtual public NPData
 
Description
The interface for geometry item.
 
Namespace
NP::NestKernel::Data::GeometryItem
 
Include File
GeomItem.h
 
Operations
      GetType                                 Get the type of the geometry item.
      GetStartPoint                       Get the start point of the geometry item.
      SetStartPoint                       Set the start point of the geometry item.
        GetEndPoint                        Get the end point of the geometry item.
        GetPointByPercent           Get the point on the geometry item by the percent.
        GetPercentByPoint           Get the percent by the point on the geometry item.
        Transform                       Transform the geometry item.
        Reverse                                Reverse the geometry item, actually the shape is same, we only change the direction.
        Distance                               Get the distance from the geometry item to point.
    GetRectBox                         Get the boundary rect of the geometry item.
 

Copyright © 2005-2013 by TAOSoft Corporation, All rights reserved.