AnyCAD Rapid API 2023
Help you to create a better world!
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 ()
 
java.math.BigInteger GetUserId ()
 
Vector3 GetPosition ()
 
boolean IsEqual (PickedItem other)
 
EnumShapeFilter GetShapeType ()
 
void SetShapeType (EnumShapeFilter filter)
 
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.

◆ GetUserId()

java.math.BigInteger PickedItem.GetUserId ( )

Get the user id in Node.

Returns
the user id.