AnyCAD Rapid SDK 2022
The Rapid CAD SDK
Public Member Functions | List of all members
PickedItem Class Reference

Public Member Functions

 PickedItem (ElementId elementId, IntersectPoint point)
 
 PickedItem (SceneNode node, IntersectPoint point)
 
IntersectPoint GetPoint ()
 
void SetPoint (IntersectPoint val)
 
SceneNode GetNode ()
 
void SetNode (SceneNode val)
 
ElementId GetElementId ()
 
void SetElementId (ElementId val)
 
boolean IsNull ()
 
long GetNodeId ()
 
SceneNode GetRootNode ()
 
Vector3 GetPosition ()
 
boolean IsEqual (PickedItem other)
 
EnumShapeFilter GetShapeType ()
 
long GetShapeIndex ()
 
long GetTopoShapeId ()
 
long GetPrimitiveIndex ()
 
void ResetByFilter (long filter)
 

Detailed Description

<> Picked item

Member Function Documentation

◆ GetNodeId()

long PickedItem.GetNodeId ( )

The id of the node.

Returns
the id

◆ GetPrimitiveIndex()

long PickedItem.GetPrimitiveIndex ( )

Get the primitive index in the sub renderable shape.

Returns
the index.

◆ GetRootNode()

SceneNode PickedItem.GetRootNode ( )

The root node of the current node.

Returns
the SceneNode

◆ GetShapeIndex()

long PickedItem.GetShapeIndex ( )

Get the sub renderable shape index.

Returns
the index

◆ GetShapeType()

EnumShapeFilter PickedItem.GetShapeType ( )

Get the shape type.

Returns
EnumShapeFilter

◆ GetTopoShapeId()

long PickedItem.GetTopoShapeId ( )

Get the sub index of in the TopoShape

Returns
the index.