Go to Google Code Home
Google SketchUp SkpWriter C++ API Documentation (Labs)

Public Member Functions

atlast::sketchup::ISketchUpInputPoint Interface Reference

Used to gather the current mouse point over the model, complete with inferencing. More...

#include <iinputpoint.h>

Inheritance diagram for atlast::sketchup::ISketchUpInputPoint:
atlast::sketchup::ISketchUpObject

List of all members.

Public Member Functions

virtual bool IsValid () const =0
 every object knows whether it is valid.
virtual bool Pick (ISketchUpView *pView, long x, long y, ISketchUpInputPoint *pInputpoint=NULL)=0
 Used to pick based on the given (x,y) screen coordinates.

Detailed Description

Used to gather the current mouse point over the model, complete with inferencing.


Member Function Documentation

virtual bool atlast::sketchup::ISketchUpInputPoint::IsValid (  )  const [pure virtual]

every object knows whether it is valid.

Returns:
true iff this is a valid object.

Implements atlast::sketchup::ISketchUpObject.

virtual bool atlast::sketchup::ISketchUpInputPoint::Pick ( ISketchUpView pView,
long  x,
long  y,
ISketchUpInputPoint pInputpoint = NULL 
) [pure virtual]

Used to pick based on the given (x,y) screen coordinates.

Parameters:
pView The view to use to pick.
x The x-value in screen coordinates.
y The y-value in screen coordinates.
pInputpoint Another input point to use.
Returns:
true iff the pick found an entity.

©2010 Google - Google Home - About Google