ReferenceTarget class is used for ReferenceTarget settings.
The class can be called from ReferenceTargetList or CalculationDefinition class
.
More...
Public Member Functions | |
| void | AddSelected (Selection *selection) |
| Adds the selected faces, edges, or vertices to the ReferenceTarget. More... | |
| void | ClearParts () |
| Removes all faces, edges, or vertices from the ReferenceTarget. | |
| Variant | GetID () |
| Returns information of edge, face, or vertex included in a ReferenceTarget. More... | |
| String | GetName () |
| Returns ReferenceTarget name. More... | |
| Selection * | GetSelection () |
| Returns the Selection object of the edge, face, or vertex included in a ReferenceTarget. More... | |
| String | GetType () |
| Returns ReferenceTarget type. More... | |
| bool | IsParallelDirection () |
| Returns the relation of edge. More... | |
| bool | IsReversed () |
| Returns the status of the reverse flag for the reference target. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumParts () |
| Returns the number of faces, edges, or vertices. More... | |
| void | SetName (String &name) |
| Specifies a ReferenceTarget name. More... | |
| void | SetParallelDirection (bool parallel) |
| void | SetReversed (bool reversed) |
| Specifies the reverse flag for the reference target True or False. More... | |
| void | SetType (String &type) |
| Specifies a ReferenceTarget type. More... | |
ReferenceTarget class is used for ReferenceTarget settings.
The class can be called from ReferenceTargetList or CalculationDefinition class
.
Example of calling the class object:
| void ReferenceTarget::AddSelected | ( | Selection * | selection | ) |
Adds the selected faces, edges, or vertices to the ReferenceTarget.
| selection | Selected faces, edges, or vertices |
| Variant ReferenceTarget::GetID | ( | ) |
Returns information of edge, face, or vertex included in a ReferenceTarget.
| String ReferenceTarget::GetName | ( | ) |
Returns ReferenceTarget name.
| Selection * ReferenceTarget::GetSelection | ( | ) |
Returns the Selection object of the edge, face, or vertex included in a ReferenceTarget.
| String ReferenceTarget::GetType | ( | ) |
Returns ReferenceTarget type.
| bool ReferenceTarget::IsParallelDirection | ( | ) |
Returns the relation of edge.
| bool ReferenceTarget::IsReversed | ( | ) |
Returns the status of the reverse flag for the reference target.
| bool ReferenceTarget::IsValid | ( | ) |
Returns True if an object is valid.
| int ReferenceTarget::NumParts | ( | ) |
Returns the number of faces, edges, or vertices.
| void ReferenceTarget::SetName | ( | String & | name | ) |
Specifies a ReferenceTarget name.
| name | ReferenceTarget names of face, edge, and vertex |
| void ReferenceTarget::SetParallelDirection | ( | bool | parallel | ) |
Specifies the relation of edge with True or False.
| parallel | True=1 : Parallel
False=0 : Perpendicular
|
| void ReferenceTarget::SetReversed | ( | bool | reversed | ) |
Specifies the reverse flag for the reference target True or False.
| reverse | True=1 : Reversed
False=0 : Not Reversed
|
| void ReferenceTarget::SetType | ( | String & | type | ) |
Specifies a ReferenceTarget type.
| type | ReferenceTarget type (Face, Edge, or Vertex) |