Home Page > KernelCAD Components > Interfaces > Sections > Mesh interfaces > ISurfacePointKC
ISurfacePointKC Interface
ISurfacePointKC Interface
- GetPoint
- GetItem
ISurfacePointKC gives access to SurfacePoint objects, which represents a point on
surface of any object. In addition to coordinates of the point SurfacePoint
contains information about the object, which owns the surface and extended
information about the surface around the point.
At the time of introduction of this interface in v31 ISurfacePointKC is returned
form IPick.GetSurfacePointAt used
mainly as an abstract dispatch interface, from which more specific interfaces,
related to specific type of surface can be queried. IMeshPointKC is the main specification
of SurfacePoint
HRESULT GetPoint( DIPoint* point )
point- [out] 3D Coordinates of the
point
- Remarks:
Returns 3D coordinates of the point. In most cases coordinates are relative to
the local frame of the section (object) which owns the mesh
HRESULT GetItem( IItem** item )
- Remarks:
Returns IItem implemented by the obeject on surface
of which the point lies. Query ISection from
IItem to get extended information related to the object
|