NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::GeometricUtilities::BooleanOperation Class Reference

Represents a boolean operation . More...

Inheritance diagram for NXOpen::GeometricUtilities::BooleanOperation:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  BooleanType {
  BooleanTypeCreate, BooleanTypeUnite, BooleanTypeSubtract, BooleanTypeIntersect,
  BooleanTypeSew
}
 Boolean operation type. More...

Public Member Functions

void GetBooleanOperationAndBody (NXOpen::GeometricUtilities::BooleanOperation::BooleanType *type, NXOpen::Body **targetBody)
 Get the Boolean operation type and target body.
std::vector< NXOpen::Body * > GetTargetBodies ()
 Get the target bodies.
void SetBooleanOperationAndBody (NXOpen::GeometricUtilities::BooleanOperation::BooleanType type, NXOpen::Body *targetBody)
 Set the Boolean operation type and target body.
void SetTargetBodies (const std::vector< NXOpen::Body * > &targetBodies)
 Set the target bodies.
void SetType (NXOpen::GeometricUtilities::BooleanOperation::BooleanType type)
 Sets the boolean operation type.
NXOpen::GeometricUtilities::BooleanOperation::BooleanType Type ()
 Returns the boolean operation type.
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.

Detailed Description

Represents a boolean operation .


Created in NX3.0.1.


Member Enumeration Documentation

Boolean operation type.

Enumerator:
BooleanTypeCreate 

Create.

BooleanTypeUnite 

Unite.

BooleanTypeSubtract 

Subtract.

BooleanTypeIntersect 

Intersect.

BooleanTypeSew 

Sew.


Member Function Documentation

Get the Boolean operation type and target body.


Deprecated:
Deprecated in NX4.0.0.


Created in NX3.0.1.

License requirements : None

Parameters:
typeboolean type
targetBodytarget body

Get the target bodies.

Returns:
target bodies of boolean
Created in NX4.0.0.

License requirements : None

Set the Boolean operation type and target body.


Deprecated:
Deprecated in NX4.0.0.


Created in NX3.0.1.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
typeboolean type
targetBodytarget body
void NXOpen::GeometricUtilities::BooleanOperation::SetTargetBodies ( const std::vector< NXOpen::Body * > &  targetBodies)

Set the target bodies.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
targetBodiestarget bodies of boolean

Sets the boolean operation type.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
typeboolean type

Returns the boolean operation type.


Created in NX4.0.0.

License requirements : None

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.