Skip to main content

Ap242Author

Struct Ap242Author 

Source
pub struct Ap242Author { /* private fields */ }
Expand description

Strict AP242 authoring handle. Owns the model privately: entities enter only through the generated constructors, so everything inside is AP242 by construction. Ap242Author::finish emits the Part 21 text.

Implementations§

Source§

impl Ap242Author

Source

pub fn new() -> Self

Source

pub fn finish(self) -> String

Emit the model as AP242 (edition 2 IS) Part 21 text. The header’s FILE_SCHEMA is stamped AP242 — the authoring layer’s schema.

Source

pub fn finish_with_header(self, header: &FileHeader) -> String

Ap242Author::finish with explicit Part 21 HEADER fields. The header’s schema is overwritten with AP242 regardless of input.

Source

pub fn add_action( &mut self, name: String, description: Option<String>, chosen_method: ActionMethodRef, ) -> Result<ActionId, AuthorError>

ACTION — strict AP242 constructor.

Source

pub fn add_action_assignment( &mut self, assigned_action: ActionRef, ) -> Result<ActionAssignmentId, AuthorError>

ACTION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_action_directive( &mut self, name: String, description: Option<String>, analysis: String, comment: String, requests: Vec<VersionedActionRequestRef>, ) -> Result<ActionDirectiveId, AuthorError>

ACTION_DIRECTIVE — strict AP242 constructor.

Source

pub fn add_action_method( &mut self, name: String, description: Option<String>, consequence: String, purpose: String, ) -> Result<ActionMethodId, AuthorError>

ACTION_METHOD — strict AP242 constructor.

Source

pub fn add_action_method_relationship( &mut self, name: String, description: Option<String>, relating_method: ActionMethodRef, related_method: ActionMethodRef, ) -> Result<ActionMethodRelationshipId, AuthorError>

ACTION_METHOD_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_action_property( &mut self, name: String, description: String, definition: CharacterizedActionDefinitionRef, ) -> Result<ActionPropertyId, AuthorError>

ACTION_PROPERTY — strict AP242 constructor.

Source

pub fn add_action_relationship( &mut self, name: String, description: Option<String>, relating_action: ActionRef, related_action: ActionRef, ) -> Result<ActionRelationshipId, AuthorError>

ACTION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_action_request_assignment( &mut self, assigned_action_request: VersionedActionRequestRef, ) -> Result<ActionRequestAssignmentId, AuthorError>

ACTION_REQUEST_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_action_request_solution( &mut self, method: ActionMethodRef, request: VersionedActionRequestRef, ) -> Result<ActionRequestSolutionId, AuthorError>

ACTION_REQUEST_SOLUTION — strict AP242 constructor.

Source

pub fn add_action_resource( &mut self, name: String, description: Option<String>, usage: Vec<SupportedItemRef>, kind: ActionResourceTypeRef, ) -> Result<ActionResourceId, AuthorError>

ACTION_RESOURCE — strict AP242 constructor.

Source

pub fn add_action_resource_relationship( &mut self, name: String, description: Option<String>, relating_resource: ActionResourceRef, related_resource: ActionResourceRef, ) -> Result<ActionResourceRelationshipId, AuthorError>

ACTION_RESOURCE_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_action_resource_requirement( &mut self, name: String, description: String, kind: ResourceRequirementTypeRef, operations: Vec<CharacterizedActionDefinitionRef>, ) -> Result<ActionResourceRequirementId, AuthorError>

ACTION_RESOURCE_REQUIREMENT — strict AP242 constructor.

Source

pub fn add_action_resource_type( &mut self, name: String, ) -> Result<ActionResourceTypeId, AuthorError>

ACTION_RESOURCE_TYPE — strict AP242 constructor.

Source

pub fn add_address( &mut self, internal_location: Option<String>, street_number: Option<String>, street: Option<String>, postal_box: Option<String>, town: Option<String>, region: Option<String>, postal_code: Option<String>, country: Option<String>, facsimile_number: Option<String>, telephone_number: Option<String>, electronic_mail_address: Option<String>, telex_number: Option<String>, ) -> Result<AddressId, AuthorError>

ADDRESS — strict AP242 constructor.

Source

pub fn add_advanced_brep_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<AdvancedBrepShapeRepresentationId, AuthorError>

ADVANCED_BREP_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_advanced_face( &mut self, name: String, bounds: Vec<FaceBoundRef>, face_geometry: SurfaceRef, same_sense: bool, ) -> Result<AdvancedFaceId, AuthorError>

ADVANCED_FACE — strict AP242 constructor.

Source

pub fn add_all_around_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<AllAroundShapeAspectId, AuthorError>

ALL_AROUND_SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_angular_location( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, angle_selection: AngleRelator, ) -> Result<AngularLocationId, AuthorError>

ANGULAR_LOCATION — strict AP242 constructor.

Source

pub fn add_angular_size( &mut self, applies_to: ShapeAspectRef, name: String, angle_selection: AngleRelator, ) -> Result<AngularSizeId, AuthorError>

ANGULAR_SIZE — strict AP242 constructor.

Source

pub fn add_angularity_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<AngularityToleranceId, AuthorError>

ANGULARITY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_annotation_curve_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: CurveOrCurveSetRef, ) -> Result<AnnotationCurveOccurrenceId, AuthorError>

ANNOTATION_CURVE_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_annotation_fill_area_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, fill_style_target: PointRef, ) -> Result<AnnotationFillAreaOccurrenceId, AuthorError>

ANNOTATION_FILL_AREA_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_annotation_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, ) -> Result<AnnotationOccurrenceId, AuthorError>

ANNOTATION_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_annotation_occurrence_associativity( &mut self, name: String, description: String, relating_annotation_occurrence: AnnotationOccurrenceRef, related_annotation_occurrence: AnnotationOccurrenceRef, ) -> Result<AnnotationOccurrenceAssociativityId, AuthorError>

ANNOTATION_OCCURRENCE_ASSOCIATIVITY — strict AP242 constructor.

Source

pub fn add_annotation_occurrence_relationship( &mut self, name: String, description: String, relating_annotation_occurrence: AnnotationOccurrenceRef, related_annotation_occurrence: AnnotationOccurrenceRef, ) -> Result<AnnotationOccurrenceRelationshipId, AuthorError>

ANNOTATION_OCCURRENCE_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_annotation_placeholder_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, role: AnnotationPlaceholderOccurrenceRole, line_spacing: f64, ) -> Result<AnnotationPlaceholderOccurrenceId, AuthorError>

ANNOTATION_PLACEHOLDER_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_annotation_plane( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: PlaneOrPlanarBoxRef, elements: Option<Vec<AnnotationPlaneElementRef>>, ) -> Result<AnnotationPlaneId, AuthorError>

ANNOTATION_PLANE — strict AP242 constructor.

Source

pub fn add_annotation_symbol( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: RepresentationItemRef, ) -> Result<AnnotationSymbolId, AuthorError>

ANNOTATION_SYMBOL — strict AP242 constructor.

Source

pub fn add_annotation_symbol_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: AnnotationSymbolOccurrenceItemRef, ) -> Result<AnnotationSymbolOccurrenceId, AuthorError>

ANNOTATION_SYMBOL_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_annotation_text( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: Axis2PlacementRef, ) -> Result<AnnotationTextId, AuthorError>

ANNOTATION_TEXT — strict AP242 constructor.

Source

pub fn add_annotation_text_character( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: Axis2PlacementRef, alignment: String, ) -> Result<AnnotationTextCharacterId, AuthorError>

ANNOTATION_TEXT_CHARACTER — strict AP242 constructor.

Source

pub fn add_annotation_text_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: AnnotationTextOccurrenceItemRef, ) -> Result<AnnotationTextOccurrenceId, AuthorError>

ANNOTATION_TEXT_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_application_context( &mut self, application: String, ) -> Result<ApplicationContextId, AuthorError>

APPLICATION_CONTEXT — strict AP242 constructor.

Source

pub fn add_application_context_element( &mut self, name: String, frame_of_reference: ApplicationContextRef, ) -> Result<ApplicationContextElementId, AuthorError>

APPLICATION_CONTEXT_ELEMENT — strict AP242 constructor.

Source

pub fn add_application_protocol_definition( &mut self, status: String, application_interpreted_model_schema_name: String, application_protocol_year: i64, application: ApplicationContextRef, ) -> Result<ApplicationProtocolDefinitionId, AuthorError>

APPLICATION_PROTOCOL_DEFINITION — strict AP242 constructor.

Source

pub fn add_applied_approval_assignment( &mut self, assigned_approval: ApprovalRef, items: Vec<ApprovalItemRef>, ) -> Result<AppliedApprovalAssignmentId, AuthorError>

APPLIED_APPROVAL_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_applied_date_and_time_assignment( &mut self, assigned_date_and_time: DateAndTimeRef, role: DateTimeRoleRef, items: Vec<DateAndTimeItemRef>, ) -> Result<AppliedDateAndTimeAssignmentId, AuthorError>

APPLIED_DATE_AND_TIME_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_applied_document_reference( &mut self, assigned_document: DocumentRef, source: String, items: Vec<DocumentReferenceItemRef>, ) -> Result<AppliedDocumentReferenceId, AuthorError>

APPLIED_DOCUMENT_REFERENCE — strict AP242 constructor.

Source

pub fn add_applied_external_identification_assignment( &mut self, assigned_id: String, role: IdentificationRoleRef, source: ExternalSourceRef, items: Vec<ExternalIdentificationItemRef>, ) -> Result<AppliedExternalIdentificationAssignmentId, AuthorError>

APPLIED_EXTERNAL_IDENTIFICATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_applied_group_assignment( &mut self, assigned_group: GroupRef, items: Vec<GroupableItemRef>, ) -> Result<AppliedGroupAssignmentId, AuthorError>

APPLIED_GROUP_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_applied_person_and_organization_assignment( &mut self, assigned_person_and_organization: PersonAndOrganizationRef, role: PersonAndOrganizationRoleRef, items: Vec<PersonAndOrganizationItemRef>, ) -> Result<AppliedPersonAndOrganizationAssignmentId, AuthorError>

APPLIED_PERSON_AND_ORGANIZATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_applied_presented_item( &mut self, items: Vec<PresentedItemSelectRef>, ) -> Result<AppliedPresentedItemId, AuthorError>

APPLIED_PRESENTED_ITEM — strict AP242 constructor.

Source

pub fn add_applied_security_classification_assignment( &mut self, assigned_security_classification: SecurityClassificationRef, items: Vec<SecurityClassificationItemRef>, ) -> Result<AppliedSecurityClassificationAssignmentId, AuthorError>

APPLIED_SECURITY_CLASSIFICATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_approval( &mut self, status: ApprovalStatusRef, level: String, ) -> Result<ApprovalId, AuthorError>

APPROVAL — strict AP242 constructor.

Source

pub fn add_approval_assignment( &mut self, assigned_approval: ApprovalRef, ) -> Result<ApprovalAssignmentId, AuthorError>

APPROVAL_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_approval_date_time( &mut self, date_time: DateTimeSelectRef, dated_approval: ApprovalRef, ) -> Result<ApprovalDateTimeId, AuthorError>

APPROVAL_DATE_TIME — strict AP242 constructor.

Source

pub fn add_approval_person_organization( &mut self, person_organization: PersonOrganizationSelectRef, authorized_approval: ApprovalRef, role: ApprovalRoleRef, ) -> Result<ApprovalPersonOrganizationId, AuthorError>

APPROVAL_PERSON_ORGANIZATION — strict AP242 constructor.

Source

pub fn add_approval_role( &mut self, role: String, ) -> Result<ApprovalRoleId, AuthorError>

APPROVAL_ROLE — strict AP242 constructor.

Source

pub fn add_approval_status( &mut self, name: String, ) -> Result<ApprovalStatusId, AuthorError>

APPROVAL_STATUS — strict AP242 constructor.

Source

pub fn add_area_in_set( &mut self, area: PresentationAreaRef, in_set: PresentationSetRef, ) -> Result<AreaInSetId, AuthorError>

AREA_IN_SET — strict AP242 constructor.

Source

pub fn add_area_unit( &mut self, elements: Vec<DerivedUnitElementRef>, ) -> Result<AreaUnitId, AuthorError>

AREA_UNIT — strict AP242 constructor.

Source

pub fn add_ascribable_state( &mut self, name: String, description: Option<String>, pertaining_state_type: StateTypeRef, ascribed_state_observed: StateObservedRef, ) -> Result<AscribableStateId, AuthorError>

ASCRIBABLE_STATE — strict AP242 constructor.

Source

pub fn add_ascribable_state_relationship( &mut self, name: String, description: Option<String>, relating_ascribable_state: AscribableStateRef, related_ascribable_state: AscribableStateRef, ) -> Result<AscribableStateRelationshipId, AuthorError>

ASCRIBABLE_STATE_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_assembly_component_usage( &mut self, id: String, name: String, description: Option<String>, relating_product_definition: ProductDefinitionOrReferenceRef, related_product_definition: ProductDefinitionOrReferenceRef, reference_designator: Option<String>, ) -> Result<AssemblyComponentUsageId, AuthorError>

ASSEMBLY_COMPONENT_USAGE — strict AP242 constructor.

Source

pub fn add_axis1_placement( &mut self, name: String, location: CartesianPointRef, axis: Option<DirectionRef>, ) -> Result<Axis1PlacementId, AuthorError>

AXIS1_PLACEMENT — strict AP242 constructor.

Source

pub fn add_axis2_placement2d( &mut self, name: String, location: CartesianPointRef, ref_direction: Option<DirectionRef>, ) -> Result<Axis2Placement2dId, AuthorError>

AXIS2_PLACEMENT_2D — strict AP242 constructor.

Source

pub fn add_axis2_placement3d( &mut self, name: String, location: CartesianPointRef, axis: Option<DirectionRef>, ref_direction: Option<DirectionRef>, ) -> Result<Axis2Placement3dId, AuthorError>

AXIS2_PLACEMENT_3D — strict AP242 constructor.

Source

pub fn add_b_spline_curve( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, ) -> Result<BSplineCurveId, AuthorError>

B_SPLINE_CURVE — strict AP242 constructor.

Source

pub fn add_b_spline_curve_with_knots( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, knot_multiplicities: Vec<i64>, knots: Vec<f64>, knot_spec: KnotType, ) -> Result<BSplineCurveWithKnotsId, AuthorError>

B_SPLINE_CURVE_WITH_KNOTS — strict AP242 constructor.

Source

pub fn add_b_spline_surface( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, ) -> Result<BSplineSurfaceId, AuthorError>

B_SPLINE_SURFACE — strict AP242 constructor.

Source

pub fn add_b_spline_surface_with_knots( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, u_multiplicities: Vec<i64>, v_multiplicities: Vec<i64>, u_knots: Vec<f64>, v_knots: Vec<f64>, knot_spec: KnotType, ) -> Result<BSplineSurfaceWithKnotsId, AuthorError>

B_SPLINE_SURFACE_WITH_KNOTS — strict AP242 constructor.

Source

pub fn add_bezier_curve( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, ) -> Result<BezierCurveId, AuthorError>

BEZIER_CURVE — strict AP242 constructor.

Source

pub fn add_bezier_surface( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, ) -> Result<BezierSurfaceId, AuthorError>

BEZIER_SURFACE — strict AP242 constructor.

Source

pub fn add_bounded_curve( &mut self, name: String, ) -> Result<BoundedCurveId, AuthorError>

BOUNDED_CURVE — strict AP242 constructor.

Source

pub fn add_bounded_pcurve( &mut self, name: String, basis_surface: SurfaceRef, reference_to_curve: DefinitionalRepresentationRef, ) -> Result<BoundedPcurveId, AuthorError>

BOUNDED_PCURVE — strict AP242 constructor.

Source

pub fn add_bounded_surface( &mut self, name: String, ) -> Result<BoundedSurfaceId, AuthorError>

BOUNDED_SURFACE — strict AP242 constructor.

Source

pub fn add_bounded_surface_curve( &mut self, name: String, curve_3d: CurveRef, associated_geometry: Vec<PcurveOrSurfaceRef>, master_representation: PreferredSurfaceCurveRepresentation, ) -> Result<BoundedSurfaceCurveId, AuthorError>

BOUNDED_SURFACE_CURVE — strict AP242 constructor.

Source

pub fn add_brep_with_voids( &mut self, name: String, outer: ClosedShellRef, voids: Vec<OrientedClosedShellRef>, ) -> Result<BrepWithVoidsId, AuthorError>

BREP_WITH_VOIDS — strict AP242 constructor.

Source

pub fn add_calendar_date( &mut self, year_component: i64, day_component: i64, month_component: i64, ) -> Result<CalendarDateId, AuthorError>

CALENDAR_DATE — strict AP242 constructor.

Source

pub fn add_camera_image( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: RepresentationItemRef, ) -> Result<CameraImageId, AuthorError>

CAMERA_IMAGE — strict AP242 constructor.

Source

pub fn add_camera_image3d_with_scale( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: RepresentationItemRef, ) -> Result<CameraImage3dWithScaleId, AuthorError>

CAMERA_IMAGE_3D_WITH_SCALE — strict AP242 constructor.

Source

pub fn add_camera_model( &mut self, name: String, ) -> Result<CameraModelId, AuthorError>

CAMERA_MODEL — strict AP242 constructor.

Source

pub fn add_camera_model_d3( &mut self, name: String, view_reference_system: Axis2Placement3dRef, perspective_of_volume: ViewVolumeRef, ) -> Result<CameraModelD3Id, AuthorError>

CAMERA_MODEL_D3 — strict AP242 constructor.

Source

pub fn add_camera_model_d3_multi_clipping( &mut self, name: String, view_reference_system: Axis2Placement3dRef, perspective_of_volume: ViewVolumeRef, shape_clipping: Vec<CameraModelD3MultiClippingIntersectionSelectRef>, ) -> Result<CameraModelD3MultiClippingId, AuthorError>

CAMERA_MODEL_D3_MULTI_CLIPPING — strict AP242 constructor.

Source

pub fn add_camera_model_d3_with_hlhsr( &mut self, name: String, view_reference_system: Axis2Placement3dRef, perspective_of_volume: ViewVolumeRef, hidden_line_surface_removal: bool, ) -> Result<CameraModelD3WithHlhsrId, AuthorError>

CAMERA_MODEL_D3_WITH_HLHSR — strict AP242 constructor.

Source

pub fn add_camera_usage( &mut self, mapping_origin: RepresentationItemRef, mapped_representation: RepresentationRef, ) -> Result<CameraUsageId, AuthorError>

CAMERA_USAGE — strict AP242 constructor.

Source

pub fn add_cartesian_point( &mut self, name: String, coordinates: Vec<f64>, ) -> Result<CartesianPointId, AuthorError>

CARTESIAN_POINT — strict AP242 constructor.

Source

pub fn add_cc_design_approval( &mut self, assigned_approval: ApprovalRef, items: Vec<ApprovedItemRef>, ) -> Result<CcDesignApprovalId, AuthorError>

CC_DESIGN_APPROVAL — strict AP242 constructor.

Source

pub fn add_cc_design_date_and_time_assignment( &mut self, assigned_date_and_time: DateAndTimeRef, role: DateTimeRoleRef, items: Vec<DateTimeItemRef>, ) -> Result<CcDesignDateAndTimeAssignmentId, AuthorError>

CC_DESIGN_DATE_AND_TIME_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_cc_design_person_and_organization_assignment( &mut self, assigned_person_and_organization: PersonAndOrganizationRef, role: PersonAndOrganizationRoleRef, items: Vec<CcPersonOrganizationItemRef>, ) -> Result<CcDesignPersonAndOrganizationAssignmentId, AuthorError>

CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_cc_design_security_classification( &mut self, assigned_security_classification: SecurityClassificationRef, items: Vec<CcClassifiedItemRef>, ) -> Result<CcDesignSecurityClassificationId, AuthorError>

CC_DESIGN_SECURITY_CLASSIFICATION — strict AP242 constructor.

Source

pub fn add_centre_of_symmetry( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<CentreOfSymmetryId, AuthorError>

CENTRE_OF_SYMMETRY — strict AP242 constructor.

Source

pub fn add_certification( &mut self, name: String, purpose: String, kind: CertificationTypeRef, ) -> Result<CertificationId, AuthorError>

CERTIFICATION — strict AP242 constructor.

Source

pub fn add_certification_type( &mut self, description: String, ) -> Result<CertificationTypeId, AuthorError>

CERTIFICATION_TYPE — strict AP242 constructor.

Source

pub fn add_change( &mut self, assigned_action: ActionRef, items: Vec<WorkItemRef>, ) -> Result<ChangeId, AuthorError>

CHANGE — strict AP242 constructor.

Source

pub fn add_change_request( &mut self, assigned_action_request: VersionedActionRequestRef, items: Vec<ChangeRequestItemRef>, ) -> Result<ChangeRequestId, AuthorError>

CHANGE_REQUEST — strict AP242 constructor.

Source

pub fn add_character_glyph_style_outline( &mut self, outline_style: CurveStyleRef, ) -> Result<CharacterGlyphStyleOutlineId, AuthorError>

CHARACTER_GLYPH_STYLE_OUTLINE — strict AP242 constructor.

Source

pub fn add_character_glyph_style_stroke( &mut self, stroke_style: CurveStyleRef, ) -> Result<CharacterGlyphStyleStrokeId, AuthorError>

CHARACTER_GLYPH_STYLE_STROKE — strict AP242 constructor.

Source

pub fn add_characterized_item_within_representation( &mut self, name: String, description: Option<String>, item: RepresentationItemRef, rep: RepresentationRef, ) -> Result<CharacterizedItemWithinRepresentationId, AuthorError>

CHARACTERIZED_ITEM_WITHIN_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_characterized_object( &mut self, name: Option<String>, description: Option<String>, ) -> Result<CharacterizedObjectId, AuthorError>

CHARACTERIZED_OBJECT — strict AP242 constructor.

Source

pub fn add_characterized_representation( &mut self, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<CharacterizedRepresentationId, AuthorError>

CHARACTERIZED_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_circle( &mut self, name: String, position: Axis2PlacementRef, radius: f64, ) -> Result<CircleId, AuthorError>

CIRCLE — strict AP242 constructor.

Source

pub fn add_circular_runout_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<CircularRunoutToleranceId, AuthorError>

CIRCULAR_RUNOUT_TOLERANCE — strict AP242 constructor.

Source

pub fn add_closed_shell( &mut self, name: String, cfs_faces: Vec<FaceRef>, ) -> Result<ClosedShellId, AuthorError>

CLOSED_SHELL — strict AP242 constructor.

Source

pub fn add_coaxiality_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<CoaxialityToleranceId, AuthorError>

COAXIALITY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_colour(&mut self) -> Result<ColourId, AuthorError>

COLOUR — strict AP242 constructor.

Source

pub fn add_colour_rgb( &mut self, name: String, red: f64, green: f64, blue: f64, ) -> Result<ColourRgbId, AuthorError>

COLOUR_RGB — strict AP242 constructor.

Source

pub fn add_colour_specification( &mut self, name: String, ) -> Result<ColourSpecificationId, AuthorError>

COLOUR_SPECIFICATION — strict AP242 constructor.

Source

pub fn add_common_datum( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, identification: String, ) -> Result<CommonDatumId, AuthorError>

COMMON_DATUM — strict AP242 constructor.

Source

pub fn add_complex_triangulated_face( &mut self, name: String, coordinates: CoordinatesListRef, pnmax: i64, normals: Vec<Vec<f64>>, geometric_link: Option<FaceOrSurfaceRef>, pnindex: Vec<i64>, triangle_strips: Vec<Vec<i64>>, triangle_fans: Vec<Vec<i64>>, ) -> Result<ComplexTriangulatedFaceId, AuthorError>

COMPLEX_TRIANGULATED_FACE — strict AP242 constructor.

Source

pub fn add_complex_triangulated_surface_set( &mut self, name: String, coordinates: CoordinatesListRef, pnmax: i64, normals: Vec<Vec<f64>>, pnindex: Vec<i64>, triangle_strips: Vec<Vec<i64>>, triangle_fans: Vec<Vec<i64>>, ) -> Result<ComplexTriangulatedSurfaceSetId, AuthorError>

COMPLEX_TRIANGULATED_SURFACE_SET — strict AP242 constructor.

Source

pub fn add_composite_curve( &mut self, name: String, segments: Vec<CompositeCurveSegmentRef>, self_intersect: Logical, ) -> Result<CompositeCurveId, AuthorError>

COMPOSITE_CURVE — strict AP242 constructor.

Source

pub fn add_composite_curve_segment( &mut self, transition: TransitionCode, same_sense: bool, parent_curve: CurveRef, ) -> Result<CompositeCurveSegmentId, AuthorError>

COMPOSITE_CURVE_SEGMENT — strict AP242 constructor.

Source

pub fn add_composite_group_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<CompositeGroupShapeAspectId, AuthorError>

COMPOSITE_GROUP_SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_composite_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<CompositeShapeAspectId, AuthorError>

COMPOSITE_SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_composite_text( &mut self, name: String, collected_text: Vec<TextOrCharacterRef>, ) -> Result<CompositeTextId, AuthorError>

COMPOSITE_TEXT — strict AP242 constructor.

Source

pub fn add_compound_representation_item( &mut self, name: String, item_element: CompoundItemDefinitionRef, ) -> Result<CompoundRepresentationItemId, AuthorError>

COMPOUND_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_concentricity_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<ConcentricityToleranceId, AuthorError>

CONCENTRICITY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_configuration_design( &mut self, configuration: ConfigurationItemRef, design: ConfigurationDesignItemRef, ) -> Result<ConfigurationDesignId, AuthorError>

CONFIGURATION_DESIGN — strict AP242 constructor.

Source

pub fn add_configuration_effectivity( &mut self, id: String, usage: ProductDefinitionRelationshipRef, configuration: ConfigurationDesignRef, ) -> Result<ConfigurationEffectivityId, AuthorError>

CONFIGURATION_EFFECTIVITY — strict AP242 constructor.

Source

pub fn add_configuration_item( &mut self, id: String, name: String, description: Option<String>, item_concept: ProductConceptRef, purpose: Option<String>, ) -> Result<ConfigurationItemId, AuthorError>

CONFIGURATION_ITEM — strict AP242 constructor.

Source

pub fn add_conic( &mut self, name: String, position: Axis2PlacementRef, ) -> Result<ConicId, AuthorError>

CONIC — strict AP242 constructor.

Source

pub fn add_conical_surface( &mut self, name: String, position: Axis2Placement3dRef, radius: f64, semi_angle: f64, ) -> Result<ConicalSurfaceId, AuthorError>

CONICAL_SURFACE — strict AP242 constructor.

Source

pub fn add_connected_face_set( &mut self, name: String, cfs_faces: Option<Vec<FaceRef>>, ) -> Result<ConnectedFaceSetId, AuthorError>

CONNECTED_FACE_SET — strict AP242 constructor.

Source

pub fn add_constructive_geometry_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<ConstructiveGeometryRepresentationId, AuthorError>

CONSTRUCTIVE_GEOMETRY_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_constructive_geometry_representation_relationship( &mut self, name: String, description: Option<String>, rep_1: ConstructiveGeometryRepresentationOrShapeRepresentationRef, rep_2: RepresentationOrRepresentationReferenceRef, ) -> Result<ConstructiveGeometryRepresentationRelationshipId, AuthorError>

CONSTRUCTIVE_GEOMETRY_REPRESENTATION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_context_dependent_over_riding_styled_item( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, over_ridden_style: StyledItemRef, style_context: Vec<StyleContextSelectRef>, ) -> Result<ContextDependentOverRidingStyledItemId, AuthorError>

CONTEXT_DEPENDENT_OVER_RIDING_STYLED_ITEM — strict AP242 constructor.

Source

pub fn add_context_dependent_shape_representation( &mut self, representation_relation: ShapeRepresentationRelationshipRef, represented_product_relation: ProductDefinitionShapeRef, ) -> Result<ContextDependentShapeRepresentationId, AuthorError>

CONTEXT_DEPENDENT_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_context_dependent_unit( &mut self, dimensions: DimensionalExponentsRef, name: String, ) -> Result<ContextDependentUnitId, AuthorError>

CONTEXT_DEPENDENT_UNIT — strict AP242 constructor.

Source

pub fn add_continuous_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<ContinuousShapeAspectId, AuthorError>

CONTINUOUS_SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_contract( &mut self, name: String, purpose: String, kind: ContractTypeRef, ) -> Result<ContractId, AuthorError>

CONTRACT — strict AP242 constructor.

Source

pub fn add_contract_type( &mut self, description: String, ) -> Result<ContractTypeId, AuthorError>

CONTRACT_TYPE — strict AP242 constructor.

Source

pub fn add_conversion_based_unit( &mut self, dimensions: DimensionalExponentsRef, name: String, conversion_factor: MeasureWithUnitRef, ) -> Result<ConversionBasedUnitId, AuthorError>

CONVERSION_BASED_UNIT — strict AP242 constructor.

Source

pub fn add_coordinated_universal_time_offset( &mut self, hour_offset: i64, minute_offset: Option<i64>, sense: AheadOrBehind, ) -> Result<CoordinatedUniversalTimeOffsetId, AuthorError>

COORDINATED_UNIVERSAL_TIME_OFFSET — strict AP242 constructor.

Source

pub fn add_coordinates_list( &mut self, name: String, npoints: i64, position_coords: Vec<Vec<f64>>, ) -> Result<CoordinatesListId, AuthorError>

COORDINATES_LIST — strict AP242 constructor.

Source

pub fn add_curve(&mut self, name: String) -> Result<CurveId, AuthorError>

CURVE — strict AP242 constructor.

Source

pub fn add_curve_style( &mut self, name: String, curve_font: Option<CurveFontOrScaledCurveFontSelectRef>, curve_width: Option<SizeSelectRef>, curve_colour: Option<ColourRef>, ) -> Result<CurveStyleId, AuthorError>

CURVE_STYLE — strict AP242 constructor.

Source

pub fn add_curve_style_font( &mut self, name: String, pattern_list: Vec<CurveStyleFontPatternRef>, ) -> Result<CurveStyleFontId, AuthorError>

CURVE_STYLE_FONT — strict AP242 constructor.

Source

pub fn add_curve_style_font_and_scaling( &mut self, name: String, curve_font: CurveStyleFontSelectRef, curve_font_scaling: f64, ) -> Result<CurveStyleFontAndScalingId, AuthorError>

CURVE_STYLE_FONT_AND_SCALING — strict AP242 constructor.

Source

pub fn add_curve_style_font_pattern( &mut self, visible_segment_length: f64, invisible_segment_length: f64, ) -> Result<CurveStyleFontPatternId, AuthorError>

CURVE_STYLE_FONT_PATTERN — strict AP242 constructor.

Source

pub fn add_curve_style_rendering( &mut self, rendering_method: ShadingCurveMethod, rendering_properties: SurfaceRenderingPropertiesRef, ) -> Result<CurveStyleRenderingId, AuthorError>

CURVE_STYLE_RENDERING — strict AP242 constructor.

Source

pub fn add_cylindrical_surface( &mut self, name: String, position: Axis2Placement3dRef, radius: f64, ) -> Result<CylindricalSurfaceId, AuthorError>

CYLINDRICAL_SURFACE — strict AP242 constructor.

Source

pub fn add_cylindricity_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<CylindricityToleranceId, AuthorError>

CYLINDRICITY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_date(&mut self, year_component: i64) -> Result<DateId, AuthorError>

DATE — strict AP242 constructor.

Source

pub fn add_date_and_time( &mut self, date_component: DateRef, time_component: LocalTimeRef, ) -> Result<DateAndTimeId, AuthorError>

DATE_AND_TIME — strict AP242 constructor.

Source

pub fn add_date_and_time_assignment( &mut self, assigned_date_and_time: DateAndTimeRef, role: DateTimeRoleRef, ) -> Result<DateAndTimeAssignmentId, AuthorError>

DATE_AND_TIME_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_date_role(&mut self, name: String) -> Result<DateRoleId, AuthorError>

DATE_ROLE — strict AP242 constructor.

Source

pub fn add_date_time_role( &mut self, name: String, ) -> Result<DateTimeRoleId, AuthorError>

DATE_TIME_ROLE — strict AP242 constructor.

Source

pub fn add_datum( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, identification: String, ) -> Result<DatumId, AuthorError>

DATUM — strict AP242 constructor.

Source

pub fn add_datum_feature( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<DatumFeatureId, AuthorError>

DATUM_FEATURE — strict AP242 constructor.

Source

pub fn add_datum_reference( &mut self, precedence: i64, referenced_datum: DatumRef, ) -> Result<DatumReferenceId, AuthorError>

DATUM_REFERENCE — strict AP242 constructor.

Source

pub fn add_datum_reference_compartment( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, base: DatumOrCommonDatumRef, modifiers: Option<Vec<DatumReferenceModifierRef>>, ) -> Result<DatumReferenceCompartmentId, AuthorError>

DATUM_REFERENCE_COMPARTMENT — strict AP242 constructor.

Source

pub fn add_datum_reference_element( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, base: DatumOrCommonDatumRef, modifiers: Option<Vec<DatumReferenceModifierRef>>, ) -> Result<DatumReferenceElementId, AuthorError>

DATUM_REFERENCE_ELEMENT — strict AP242 constructor.

Source

pub fn add_datum_reference_modifier_with_value( &mut self, modifier_type: DatumReferenceModifierType, modifier_value: LengthMeasureWithUnitRef, ) -> Result<DatumReferenceModifierWithValueId, AuthorError>

DATUM_REFERENCE_MODIFIER_WITH_VALUE — strict AP242 constructor.

Source

pub fn add_datum_system( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, constituents: Vec<DatumReferenceCompartmentRef>, ) -> Result<DatumSystemId, AuthorError>

DATUM_SYSTEM — strict AP242 constructor.

Source

pub fn add_datum_target( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, target_id: String, ) -> Result<DatumTargetId, AuthorError>

DATUM_TARGET — strict AP242 constructor.

Source

pub fn add_default_model_geometric_view( &mut self, name: String, description: Option<String>, item: RepresentationItemRef, rep: RepresentationRef, name_1: String, description_1: Option<String>, of_shape: ProductDefinitionShapeRef, ) -> Result<DefaultModelGeometricViewId, AuthorError>

DEFAULT_MODEL_GEOMETRIC_VIEW — strict AP242 constructor.

Source

pub fn add_defined_character_glyph( &mut self, name: String, definition: DefinedGlyphSelectRef, placement: Axis2PlacementRef, ) -> Result<DefinedCharacterGlyphId, AuthorError>

DEFINED_CHARACTER_GLYPH — strict AP242 constructor.

Source

pub fn add_defined_symbol( &mut self, name: String, definition: DefinedSymbolSelectRef, target: SymbolTargetRef, ) -> Result<DefinedSymbolId, AuthorError>

DEFINED_SYMBOL — strict AP242 constructor.

Source

pub fn add_definitional_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<DefinitionalRepresentationId, AuthorError>

DEFINITIONAL_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_definitional_representation_relationship( &mut self, name: String, description: Option<String>, rep_1: RepresentationOrRepresentationReferenceRef, rep_2: RepresentationOrRepresentationReferenceRef, ) -> Result<DefinitionalRepresentationRelationshipId, AuthorError>

DEFINITIONAL_REPRESENTATION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_definitional_representation_relationship_with_same_context( &mut self, name: String, description: Option<String>, rep_1: RepresentationOrRepresentationReferenceRef, rep_2: RepresentationOrRepresentationReferenceRef, ) -> Result<DefinitionalRepresentationRelationshipWithSameContextId, AuthorError>

DEFINITIONAL_REPRESENTATION_RELATIONSHIP_WITH_SAME_CONTEXT — strict AP242 constructor.

Source

pub fn add_degenerate_toroidal_surface( &mut self, name: String, position: Axis2Placement3dRef, major_radius: f64, minor_radius: f64, select_outer: bool, ) -> Result<DegenerateToroidalSurfaceId, AuthorError>

DEGENERATE_TOROIDAL_SURFACE — strict AP242 constructor.

Source

pub fn add_derived_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, ) -> Result<DerivedShapeAspectId, AuthorError>

DERIVED_SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_derived_unit( &mut self, elements: Vec<DerivedUnitElementRef>, ) -> Result<DerivedUnitId, AuthorError>

DERIVED_UNIT — strict AP242 constructor.

Source

pub fn add_derived_unit_element( &mut self, unit: NamedUnitRef, exponent: f64, ) -> Result<DerivedUnitElementId, AuthorError>

DERIVED_UNIT_ELEMENT — strict AP242 constructor.

Source

pub fn add_description_attribute( &mut self, attribute_value: String, described_item: DescriptionAttributeSelectRef, ) -> Result<DescriptionAttributeId, AuthorError>

DESCRIPTION_ATTRIBUTE — strict AP242 constructor.

Source

pub fn add_descriptive_representation_item( &mut self, name: String, description: String, ) -> Result<DescriptiveRepresentationItemId, AuthorError>

DESCRIPTIVE_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_design_context( &mut self, name: String, frame_of_reference: ApplicationContextRef, life_cycle_stage: String, ) -> Result<DesignContextId, AuthorError>

DESIGN_CONTEXT — strict AP242 constructor.

Source

pub fn add_dimensional_characteristic_representation( &mut self, dimension: DimensionalCharacteristicRef, representation: ShapeDimensionRepresentationRef, ) -> Result<DimensionalCharacteristicRepresentationId, AuthorError>

DIMENSIONAL_CHARACTERISTIC_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_dimensional_exponents( &mut self, length_exponent: f64, mass_exponent: f64, time_exponent: f64, electric_current_exponent: f64, thermodynamic_temperature_exponent: f64, amount_of_substance_exponent: f64, luminous_intensity_exponent: f64, ) -> Result<DimensionalExponentsId, AuthorError>

DIMENSIONAL_EXPONENTS — strict AP242 constructor.

Source

pub fn add_dimensional_location( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<DimensionalLocationId, AuthorError>

DIMENSIONAL_LOCATION — strict AP242 constructor.

Source

pub fn add_dimensional_location_with_path( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, path: ShapeAspectRef, ) -> Result<DimensionalLocationWithPathId, AuthorError>

DIMENSIONAL_LOCATION_WITH_PATH — strict AP242 constructor.

Source

pub fn add_dimensional_size( &mut self, applies_to: ShapeAspectRef, name: String, ) -> Result<DimensionalSizeId, AuthorError>

DIMENSIONAL_SIZE — strict AP242 constructor.

Source

pub fn add_dimensional_size_with_datum_feature( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, applies_to: ShapeAspectRef, name_1: String, ) -> Result<DimensionalSizeWithDatumFeatureId, AuthorError>

DIMENSIONAL_SIZE_WITH_DATUM_FEATURE — strict AP242 constructor.

Source

pub fn add_dimensional_size_with_path( &mut self, applies_to: ShapeAspectRef, name: String, path: ShapeAspectRef, ) -> Result<DimensionalSizeWithPathId, AuthorError>

DIMENSIONAL_SIZE_WITH_PATH — strict AP242 constructor.

Source

pub fn add_directed_dimensional_location( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<DirectedDimensionalLocationId, AuthorError>

DIRECTED_DIMENSIONAL_LOCATION — strict AP242 constructor.

Source

pub fn add_direction( &mut self, name: String, direction_ratios: Vec<f64>, ) -> Result<DirectionId, AuthorError>

DIRECTION — strict AP242 constructor.

Source

pub fn add_document( &mut self, id: String, name: String, description: Option<String>, kind: DocumentTypeRef, ) -> Result<DocumentId, AuthorError>

DOCUMENT — strict AP242 constructor.

Source

pub fn add_document_file( &mut self, id: String, name: String, description: Option<String>, kind: DocumentTypeRef, name_1: String, description_1: Option<String>, ) -> Result<DocumentFileId, AuthorError>

DOCUMENT_FILE — strict AP242 constructor.

Source

pub fn add_document_product_association( &mut self, name: String, description: Option<String>, relating_document: DocumentRef, related_product: ProductOrFormationOrDefinitionRef, ) -> Result<DocumentProductAssociationId, AuthorError>

DOCUMENT_PRODUCT_ASSOCIATION — strict AP242 constructor.

Source

pub fn add_document_product_equivalence( &mut self, name: String, description: Option<String>, relating_document: DocumentRef, related_product: ProductOrFormationOrDefinitionRef, ) -> Result<DocumentProductEquivalenceId, AuthorError>

DOCUMENT_PRODUCT_EQUIVALENCE — strict AP242 constructor.

Source

pub fn add_document_reference( &mut self, assigned_document: DocumentRef, source: String, ) -> Result<DocumentReferenceId, AuthorError>

DOCUMENT_REFERENCE — strict AP242 constructor.

Source

pub fn add_document_representation_type( &mut self, name: String, represented_document: DocumentRef, ) -> Result<DocumentRepresentationTypeId, AuthorError>

DOCUMENT_REPRESENTATION_TYPE — strict AP242 constructor.

Source

pub fn add_document_type( &mut self, product_data_type: String, ) -> Result<DocumentTypeId, AuthorError>

DOCUMENT_TYPE — strict AP242 constructor.

Source

pub fn add_draughting_annotation_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, ) -> Result<DraughtingAnnotationOccurrenceId, AuthorError>

DRAUGHTING_ANNOTATION_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_draughting_callout( &mut self, name: String, contents: Vec<DraughtingCalloutElementRef>, ) -> Result<DraughtingCalloutId, AuthorError>

DRAUGHTING_CALLOUT — strict AP242 constructor.

Source

pub fn add_draughting_callout_relationship( &mut self, name: String, description: String, relating_draughting_callout: DraughtingCalloutRef, related_draughting_callout: DraughtingCalloutRef, ) -> Result<DraughtingCalloutRelationshipId, AuthorError>

DRAUGHTING_CALLOUT_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_draughting_model( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<DraughtingModelId, AuthorError>

DRAUGHTING_MODEL — strict AP242 constructor.

Source

pub fn add_draughting_model_item_association( &mut self, name: String, description: Option<String>, definition: DraughtingModelItemDefinitionRef, used_representation: AnnotationRepresentationSelectRef, identified_item: DraughtingModelItemAssociationSelectRef, ) -> Result<DraughtingModelItemAssociationId, AuthorError>

DRAUGHTING_MODEL_ITEM_ASSOCIATION — strict AP242 constructor.

Source

pub fn add_draughting_model_item_association_with_placeholder( &mut self, name: String, description: Option<String>, definition: DraughtingModelItemDefinitionRef, used_representation: AnnotationRepresentationSelectRef, identified_item: DraughtingModelItemAssociationSelectRef, annotation_placeholder: AnnotationPlaceholderOccurrenceRef, ) -> Result<DraughtingModelItemAssociationWithPlaceholderId, AuthorError>

DRAUGHTING_MODEL_ITEM_ASSOCIATION_WITH_PLACEHOLDER — strict AP242 constructor.

Source

pub fn add_draughting_pre_defined_colour( &mut self, name: String, ) -> Result<DraughtingPreDefinedColourId, AuthorError>

DRAUGHTING_PRE_DEFINED_COLOUR — strict AP242 constructor.

Source

pub fn add_draughting_pre_defined_curve_font( &mut self, name: String, ) -> Result<DraughtingPreDefinedCurveFontId, AuthorError>

DRAUGHTING_PRE_DEFINED_CURVE_FONT — strict AP242 constructor.

Source

pub fn add_draughting_pre_defined_text_font( &mut self, name: String, ) -> Result<DraughtingPreDefinedTextFontId, AuthorError>

DRAUGHTING_PRE_DEFINED_TEXT_FONT — strict AP242 constructor.

Source

pub fn add_edge( &mut self, name: String, edge_start: Option<VertexRef>, edge_end: Option<VertexRef>, ) -> Result<EdgeId, AuthorError>

EDGE — strict AP242 constructor.

Source

pub fn add_edge_curve( &mut self, name: String, edge_start: VertexRef, edge_end: VertexRef, edge_geometry: CurveRef, same_sense: bool, ) -> Result<EdgeCurveId, AuthorError>

EDGE_CURVE — strict AP242 constructor.

Source

pub fn add_edge_loop( &mut self, name: String, edge_list: Vec<OrientedEdgeRef>, ) -> Result<EdgeLoopId, AuthorError>

EDGE_LOOP — strict AP242 constructor.

Source

pub fn add_effectivity( &mut self, id: String, ) -> Result<EffectivityId, AuthorError>

EFFECTIVITY — strict AP242 constructor.

Source

pub fn add_elementary_surface( &mut self, name: String, position: Axis2Placement3dRef, ) -> Result<ElementarySurfaceId, AuthorError>

ELEMENTARY_SURFACE — strict AP242 constructor.

Source

pub fn add_ellipse( &mut self, name: String, position: Axis2PlacementRef, semi_axis_1: f64, semi_axis_2: f64, ) -> Result<EllipseId, AuthorError>

ELLIPSE — strict AP242 constructor.

Source

pub fn add_expression(&mut self) -> Result<ExpressionId, AuthorError>

EXPRESSION — strict AP242 constructor.

Source

pub fn add_external_identification_assignment( &mut self, assigned_id: String, role: IdentificationRoleRef, source: ExternalSourceRef, ) -> Result<ExternalIdentificationAssignmentId, AuthorError>

EXTERNAL_IDENTIFICATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_external_source( &mut self, source_id: StringSelectValue, ) -> Result<ExternalSourceId, AuthorError>

EXTERNAL_SOURCE — strict AP242 constructor.

Source

pub fn add_externally_defined_character_glyph( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedCharacterGlyphId, AuthorError>

EXTERNALLY_DEFINED_CHARACTER_GLYPH — strict AP242 constructor.

Source

pub fn add_externally_defined_curve_font( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedCurveFontId, AuthorError>

EXTERNALLY_DEFINED_CURVE_FONT — strict AP242 constructor.

Source

pub fn add_externally_defined_hatch_style( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, name: String, ) -> Result<ExternallyDefinedHatchStyleId, AuthorError>

EXTERNALLY_DEFINED_HATCH_STYLE — strict AP242 constructor.

Source

pub fn add_externally_defined_item( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedItemId, AuthorError>

EXTERNALLY_DEFINED_ITEM — strict AP242 constructor.

Source

pub fn add_externally_defined_style( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedStyleId, AuthorError>

EXTERNALLY_DEFINED_STYLE — strict AP242 constructor.

Source

pub fn add_externally_defined_symbol( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedSymbolId, AuthorError>

EXTERNALLY_DEFINED_SYMBOL — strict AP242 constructor.

Source

pub fn add_externally_defined_text_font( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedTextFontId, AuthorError>

EXTERNALLY_DEFINED_TEXT_FONT — strict AP242 constructor.

Source

pub fn add_externally_defined_tile( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, ) -> Result<ExternallyDefinedTileId, AuthorError>

EXTERNALLY_DEFINED_TILE — strict AP242 constructor.

Source

pub fn add_externally_defined_tile_style( &mut self, item_id: StringSelectValue, source: ExternalSourceRef, name: String, ) -> Result<ExternallyDefinedTileStyleId, AuthorError>

EXTERNALLY_DEFINED_TILE_STYLE — strict AP242 constructor.

Source

pub fn add_face( &mut self, name: String, bounds: Vec<FaceBoundRef>, ) -> Result<FaceId, AuthorError>

FACE — strict AP242 constructor.

Source

pub fn add_face_bound( &mut self, name: String, bound: LoopRef, orientation: bool, ) -> Result<FaceBoundId, AuthorError>

FACE_BOUND — strict AP242 constructor.

Source

pub fn add_face_outer_bound( &mut self, name: String, bound: LoopRef, orientation: bool, ) -> Result<FaceOuterBoundId, AuthorError>

FACE_OUTER_BOUND — strict AP242 constructor.

Source

pub fn add_face_surface( &mut self, name: String, bounds: Vec<FaceBoundRef>, face_geometry: SurfaceRef, same_sense: bool, ) -> Result<FaceSurfaceId, AuthorError>

FACE_SURFACE — strict AP242 constructor.

Source

pub fn add_feature_for_datum_target_relationship( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<FeatureForDatumTargetRelationshipId, AuthorError>

FEATURE_FOR_DATUM_TARGET_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_fill_area_style( &mut self, name: String, fill_styles: Vec<FillStyleSelectRef>, ) -> Result<FillAreaStyleId, AuthorError>

FILL_AREA_STYLE — strict AP242 constructor.

Source

pub fn add_fill_area_style_colour( &mut self, name: String, fill_colour: ColourRef, ) -> Result<FillAreaStyleColourId, AuthorError>

FILL_AREA_STYLE_COLOUR — strict AP242 constructor.

Source

pub fn add_fill_area_style_hatching( &mut self, name: String, hatch_line_appearance: CurveStyleRef, start_of_next_hatch_line: OneDirectionRepeatFactorRef, point_of_reference_hatch_line: CartesianPointRef, pattern_start: CartesianPointRef, hatch_line_angle: f64, ) -> Result<FillAreaStyleHatchingId, AuthorError>

FILL_AREA_STYLE_HATCHING — strict AP242 constructor.

Source

pub fn add_fill_area_style_tile_coloured_region( &mut self, name: String, closed_curve: CurveOrAnnotationCurveOccurrenceRef, region_colour: ColourRef, ) -> Result<FillAreaStyleTileColouredRegionId, AuthorError>

FILL_AREA_STYLE_TILE_COLOURED_REGION — strict AP242 constructor.

Source

pub fn add_fill_area_style_tile_curve_with_style( &mut self, name: String, styled_curve: AnnotationCurveOccurrenceRef, ) -> Result<FillAreaStyleTileCurveWithStyleId, AuthorError>

FILL_AREA_STYLE_TILE_CURVE_WITH_STYLE — strict AP242 constructor.

Source

pub fn add_fill_area_style_tile_symbol_with_style( &mut self, name: String, symbol: AnnotationSymbolOccurrenceRef, ) -> Result<FillAreaStyleTileSymbolWithStyleId, AuthorError>

FILL_AREA_STYLE_TILE_SYMBOL_WITH_STYLE — strict AP242 constructor.

Source

pub fn add_fill_area_style_tiles( &mut self, name: String, tiling_pattern: TwoDirectionRepeatFactorRef, tiles: Vec<FillAreaStyleTileShapeSelectRef>, tiling_scale: f64, ) -> Result<FillAreaStyleTilesId, AuthorError>

FILL_AREA_STYLE_TILES — strict AP242 constructor.

Source

pub fn add_flatness_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<FlatnessToleranceId, AuthorError>

FLATNESS_TOLERANCE — strict AP242 constructor.

Source

pub fn add_founded_item(&mut self) -> Result<FoundedItemId, AuthorError>

FOUNDED_ITEM — strict AP242 constructor.

Source

pub fn add_functionally_defined_transformation( &mut self, name: String, description: Option<String>, ) -> Result<FunctionallyDefinedTransformationId, AuthorError>

FUNCTIONALLY_DEFINED_TRANSFORMATION — strict AP242 constructor.

Source

pub fn add_general_datum_reference( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, base: DatumOrCommonDatumRef, modifiers: Option<Vec<DatumReferenceModifierRef>>, ) -> Result<GeneralDatumReferenceId, AuthorError>

GENERAL_DATUM_REFERENCE — strict AP242 constructor.

Source

pub fn add_general_property( &mut self, id: String, name: String, description: Option<String>, ) -> Result<GeneralPropertyId, AuthorError>

GENERAL_PROPERTY — strict AP242 constructor.

Source

pub fn add_general_property_association( &mut self, name: String, description: Option<String>, base_definition: GeneralPropertyRef, derived_definition: DerivedPropertySelectRef, ) -> Result<GeneralPropertyAssociationId, AuthorError>

GENERAL_PROPERTY_ASSOCIATION — strict AP242 constructor.

Source

pub fn add_generic_expression( &mut self, ) -> Result<GenericExpressionId, AuthorError>

GENERIC_EXPRESSION — strict AP242 constructor.

Source

pub fn add_generic_literal(&mut self) -> Result<GenericLiteralId, AuthorError>

GENERIC_LITERAL — strict AP242 constructor.

Source

pub fn add_generic_product_definition_reference( &mut self, source: ExternalSourceRef, ) -> Result<GenericProductDefinitionReferenceId, AuthorError>

GENERIC_PRODUCT_DEFINITION_REFERENCE — strict AP242 constructor.

Source

pub fn add_geometric_curve_set( &mut self, name: String, elements: Vec<GeometricSetSelectRef>, ) -> Result<GeometricCurveSetId, AuthorError>

GEOMETRIC_CURVE_SET — strict AP242 constructor.

Source

pub fn add_geometric_item_specific_usage( &mut self, name: String, description: Option<String>, definition: GeometricItemSpecificUsageSelectRef, used_representation: ShapeModelRef, identified_item: GeometricModelItemRef, ) -> Result<GeometricItemSpecificUsageId, AuthorError>

GEOMETRIC_ITEM_SPECIFIC_USAGE — strict AP242 constructor.

Source

pub fn add_geometric_representation_context( &mut self, context_identifier: String, context_type: String, coordinate_space_dimension: i64, ) -> Result<GeometricRepresentationContextId, AuthorError>

GEOMETRIC_REPRESENTATION_CONTEXT — strict AP242 constructor.

Source

pub fn add_geometric_representation_item( &mut self, name: String, ) -> Result<GeometricRepresentationItemId, AuthorError>

GEOMETRIC_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_geometric_set( &mut self, name: String, elements: Vec<GeometricSetSelectRef>, ) -> Result<GeometricSetId, AuthorError>

GEOMETRIC_SET — strict AP242 constructor.

Source

pub fn add_geometric_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<GeometricToleranceId, AuthorError>

GEOMETRIC_TOLERANCE — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_relationship( &mut self, name: String, description: String, relating_geometric_tolerance: GeometricToleranceRef, related_geometric_tolerance: GeometricToleranceRef, ) -> Result<GeometricToleranceRelationshipId, AuthorError>

GEOMETRIC_TOLERANCE_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_with_datum_reference( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<GeometricToleranceWithDatumReferenceId, AuthorError>

GEOMETRIC_TOLERANCE_WITH_DATUM_REFERENCE — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_with_defined_area_unit( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, unit_size: LengthOrPlaneAngleMeasureWithUnitSelectRef, area_type: AreaUnitType, second_unit_size: Option<LengthOrPlaneAngleMeasureWithUnitSelectRef>, ) -> Result<GeometricToleranceWithDefinedAreaUnitId, AuthorError>

GEOMETRIC_TOLERANCE_WITH_DEFINED_AREA_UNIT — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_with_defined_unit( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, unit_size: LengthOrPlaneAngleMeasureWithUnitSelectRef, ) -> Result<GeometricToleranceWithDefinedUnitId, AuthorError>

GEOMETRIC_TOLERANCE_WITH_DEFINED_UNIT — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_with_maximum_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, modifiers: Vec<GeometricToleranceModifier>, maximum_upper_tolerance: LengthMeasureWithUnitRef, ) -> Result<GeometricToleranceWithMaximumToleranceId, AuthorError>

GEOMETRIC_TOLERANCE_WITH_MAXIMUM_TOLERANCE — strict AP242 constructor.

Source

pub fn add_geometric_tolerance_with_modifiers( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, modifiers: Vec<GeometricToleranceModifier>, ) -> Result<GeometricToleranceWithModifiersId, AuthorError>

GEOMETRIC_TOLERANCE_WITH_MODIFIERS — strict AP242 constructor.

Source

pub fn add_geometrically_bounded_surface_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<GeometricallyBoundedSurfaceShapeRepresentationId, AuthorError>

GEOMETRICALLY_BOUNDED_SURFACE_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_geometrically_bounded_wireframe_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<GeometricallyBoundedWireframeShapeRepresentationId, AuthorError>

GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_global_uncertainty_assigned_context( &mut self, context_identifier: String, context_type: String, uncertainty: Vec<UncertaintyMeasureWithUnitRef>, ) -> Result<GlobalUncertaintyAssignedContextId, AuthorError>

GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT — strict AP242 constructor.

Source

pub fn add_global_unit_assigned_context( &mut self, context_identifier: String, context_type: String, units: Vec<UnitRef>, ) -> Result<GlobalUnitAssignedContextId, AuthorError>

GLOBAL_UNIT_ASSIGNED_CONTEXT — strict AP242 constructor.

Source

pub fn add_group( &mut self, name: String, description: Option<String>, ) -> Result<GroupId, AuthorError>

GROUP — strict AP242 constructor.

Source

pub fn add_group_assignment( &mut self, assigned_group: GroupRef, ) -> Result<GroupAssignmentId, AuthorError>

GROUP_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_hyperbola( &mut self, name: String, position: Axis2PlacementRef, semi_axis: f64, semi_imag_axis: f64, ) -> Result<HyperbolaId, AuthorError>

HYPERBOLA — strict AP242 constructor.

Source

pub fn add_id_attribute( &mut self, attribute_value: String, identified_item: IdAttributeSelectRef, ) -> Result<IdAttributeId, AuthorError>

ID_ATTRIBUTE — strict AP242 constructor.

Source

pub fn add_identification_assignment( &mut self, assigned_id: String, role: IdentificationRoleRef, ) -> Result<IdentificationAssignmentId, AuthorError>

IDENTIFICATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_identification_role( &mut self, name: String, description: Option<String>, ) -> Result<IdentificationRoleId, AuthorError>

IDENTIFICATION_ROLE — strict AP242 constructor.

Source

pub fn add_int_literal( &mut self, the_value: i64, ) -> Result<IntLiteralId, AuthorError>

INT_LITERAL — strict AP242 constructor.

Source

pub fn add_integer_representation_item( &mut self, name: String, the_value: i64, ) -> Result<IntegerRepresentationItemId, AuthorError>

INTEGER_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_intersection_curve( &mut self, name: String, curve_3d: CurveRef, associated_geometry: Vec<PcurveOrSurfaceRef>, master_representation: PreferredSurfaceCurveRepresentation, ) -> Result<IntersectionCurveId, AuthorError>

INTERSECTION_CURVE — strict AP242 constructor.

Source

pub fn add_invisibility( &mut self, invisible_items: Vec<InvisibleItemRef>, ) -> Result<InvisibilityId, AuthorError>

INVISIBILITY — strict AP242 constructor.

Source

pub fn add_item_defined_transformation( &mut self, name: String, description: Option<String>, transform_item_1: RepresentationItemRef, transform_item_2: RepresentationItemRef, ) -> Result<ItemDefinedTransformationId, AuthorError>

ITEM_DEFINED_TRANSFORMATION — strict AP242 constructor.

Source

pub fn add_item_identified_representation_usage( &mut self, name: String, description: Option<String>, definition: ItemIdentifiedRepresentationUsageDefinitionRef, used_representation: RepresentationRef, identified_item: ItemIdentifiedRepresentationUsageSelectRef, ) -> Result<ItemIdentifiedRepresentationUsageId, AuthorError>

ITEM_IDENTIFIED_REPRESENTATION_USAGE — strict AP242 constructor.

Source

pub fn add_leader_curve( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: CurveOrCurveSetRef, ) -> Result<LeaderCurveId, AuthorError>

LEADER_CURVE — strict AP242 constructor.

Source

pub fn add_leader_directed_callout( &mut self, name: String, contents: Vec<DraughtingCalloutElementRef>, ) -> Result<LeaderDirectedCalloutId, AuthorError>

LEADER_DIRECTED_CALLOUT — strict AP242 constructor.

Source

pub fn add_leader_terminator( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: AnnotationSymbolOccurrenceItemRef, annotated_curve: AnnotationCurveOccurrenceRef, ) -> Result<LeaderTerminatorId, AuthorError>

LEADER_TERMINATOR — strict AP242 constructor.

Source

pub fn add_length_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<LengthMeasureWithUnitId, AuthorError>

LENGTH_MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_length_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<LengthUnitId, AuthorError>

LENGTH_UNIT — strict AP242 constructor.

Source

pub fn add_limits_and_fits( &mut self, form_variance: String, zone_variance: String, grade: String, source: String, ) -> Result<LimitsAndFitsId, AuthorError>

LIMITS_AND_FITS — strict AP242 constructor.

Source

pub fn add_line( &mut self, name: String, pnt: CartesianPointRef, dir: VectorRef, ) -> Result<LineId, AuthorError>

LINE — strict AP242 constructor.

Source

pub fn add_line_profile_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<LineProfileToleranceId, AuthorError>

LINE_PROFILE_TOLERANCE — strict AP242 constructor.

Source

pub fn add_literal_number( &mut self, the_value: f64, ) -> Result<LiteralNumberId, AuthorError>

LITERAL_NUMBER — strict AP242 constructor.

Source

pub fn add_local_time( &mut self, hour_component: i64, minute_component: Option<i64>, second_component: Option<f64>, zone: CoordinatedUniversalTimeOffsetRef, ) -> Result<LocalTimeId, AuthorError>

LOCAL_TIME — strict AP242 constructor.

Source

pub fn add_loop(&mut self, name: String) -> Result<LoopId, AuthorError>

LOOP — strict AP242 constructor.

Source

pub fn add_make_from_usage_option( &mut self, id: String, name: String, description: Option<String>, relating_product_definition: ProductDefinitionOrReferenceRef, related_product_definition: ProductDefinitionOrReferenceRef, ranking: i64, ranking_rationale: String, quantity: MeasureWithUnitRef, ) -> Result<MakeFromUsageOptionId, AuthorError>

MAKE_FROM_USAGE_OPTION — strict AP242 constructor.

Source

pub fn add_manifold_solid_brep( &mut self, name: String, outer: ClosedShellRef, ) -> Result<ManifoldSolidBrepId, AuthorError>

MANIFOLD_SOLID_BREP — strict AP242 constructor.

Source

pub fn add_manifold_surface_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<ManifoldSurfaceShapeRepresentationId, AuthorError>

MANIFOLD_SURFACE_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_mapped_item( &mut self, name: String, mapping_source: RepresentationMapRef, mapping_target: RepresentationItemRef, ) -> Result<MappedItemId, AuthorError>

MAPPED_ITEM — strict AP242 constructor.

Source

pub fn add_mass_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<MassMeasureWithUnitId, AuthorError>

MASS_MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_mass_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<MassUnitId, AuthorError>

MASS_UNIT — strict AP242 constructor.

Source

pub fn add_measure_qualification( &mut self, name: String, description: String, qualified_measure: MeasureWithUnitRef, qualifiers: Vec<ValueQualifierRef>, ) -> Result<MeasureQualificationId, AuthorError>

MEASURE_QUALIFICATION — strict AP242 constructor.

Source

pub fn add_measure_representation_item( &mut self, name: String, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<MeasureRepresentationItemId, AuthorError>

MEASURE_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<MeasureWithUnitId, AuthorError>

MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_mechanical_context( &mut self, name: String, frame_of_reference: ApplicationContextRef, discipline_type: String, ) -> Result<MechanicalContextId, AuthorError>

MECHANICAL_CONTEXT — strict AP242 constructor.

Source

pub fn add_mechanical_design_and_draughting_relationship( &mut self, name: String, description: Option<String>, rep_1: MechanicalDesignAndDraughtingRelationshipSelectRef, rep_2: MechanicalDesignAndDraughtingRelationshipSelectRef, ) -> Result<MechanicalDesignAndDraughtingRelationshipId, AuthorError>

MECHANICAL_DESIGN_AND_DRAUGHTING_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_mechanical_design_geometric_presentation_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<MechanicalDesignGeometricPresentationRepresentationId, AuthorError>

MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_mechanical_design_presentation_representation_with_draughting( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<MechanicalDesignPresentationRepresentationWithDraughtingId, AuthorError>

MECHANICAL_DESIGN_PRESENTATION_REPRESENTATION_WITH_DRAUGHTING — strict AP242 constructor.

Source

pub fn add_mechanical_design_shaded_presentation_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<MechanicalDesignShadedPresentationRepresentationId, AuthorError>

MECHANICAL_DESIGN_SHADED_PRESENTATION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_model_geometric_view( &mut self, name: String, description: Option<String>, item: RepresentationItemRef, rep: RepresentationRef, ) -> Result<ModelGeometricViewId, AuthorError>

MODEL_GEOMETRIC_VIEW — strict AP242 constructor.

Source

pub fn add_modified_geometric_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, modifier: LimitCondition, ) -> Result<ModifiedGeometricToleranceId, AuthorError>

MODIFIED_GEOMETRIC_TOLERANCE — strict AP242 constructor.

Source

pub fn add_name_attribute( &mut self, attribute_value: String, named_item: NameAttributeSelectRef, ) -> Result<NameAttributeId, AuthorError>

NAME_ATTRIBUTE — strict AP242 constructor.

Source

pub fn add_named_unit( &mut self, dimensions: Option<DimensionalExponentsRef>, ) -> Result<NamedUnitId, AuthorError>

NAMED_UNIT — strict AP242 constructor.

Source

pub fn add_next_assembly_usage_occurrence( &mut self, id: String, name: String, description: Option<String>, relating_product_definition: ProductDefinitionOrReferenceRef, related_product_definition: ProductDefinitionOrReferenceRef, reference_designator: Option<String>, ) -> Result<NextAssemblyUsageOccurrenceId, AuthorError>

NEXT_ASSEMBLY_USAGE_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_numeric_expression( &mut self, ) -> Result<NumericExpressionId, AuthorError>

NUMERIC_EXPRESSION — strict AP242 constructor.

Source

pub fn add_object_role( &mut self, name: String, description: Option<String>, ) -> Result<ObjectRoleId, AuthorError>

OBJECT_ROLE — strict AP242 constructor.

Source

pub fn add_offset_surface( &mut self, name: String, basis_surface: SurfaceRef, distance: f64, self_intersect: Logical, ) -> Result<OffsetSurfaceId, AuthorError>

OFFSET_SURFACE — strict AP242 constructor.

Source

pub fn add_one_direction_repeat_factor( &mut self, name: String, repeat_factor: VectorRef, ) -> Result<OneDirectionRepeatFactorId, AuthorError>

ONE_DIRECTION_REPEAT_FACTOR — strict AP242 constructor.

Source

pub fn add_open_shell( &mut self, name: String, cfs_faces: Vec<FaceRef>, ) -> Result<OpenShellId, AuthorError>

OPEN_SHELL — strict AP242 constructor.

Source

pub fn add_organization( &mut self, id: Option<String>, name: String, description: Option<String>, ) -> Result<OrganizationId, AuthorError>

ORGANIZATION — strict AP242 constructor.

Source

pub fn add_organization_relationship( &mut self, name: String, description: Option<String>, relating_organization: OrganizationRef, related_organization: OrganizationRef, ) -> Result<OrganizationRelationshipId, AuthorError>

ORGANIZATION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_organization_role( &mut self, name: String, ) -> Result<OrganizationRoleId, AuthorError>

ORGANIZATION_ROLE — strict AP242 constructor.

Source

pub fn add_organization_type( &mut self, id: String, name: String, description: Option<String>, ) -> Result<OrganizationTypeId, AuthorError>

ORGANIZATION_TYPE — strict AP242 constructor.

Source

pub fn add_organization_type_role( &mut self, id: String, name: String, description: Option<String>, ) -> Result<OrganizationTypeRoleId, AuthorError>

ORGANIZATION_TYPE_ROLE — strict AP242 constructor.

Source

pub fn add_organizational_address( &mut self, internal_location: Option<String>, street_number: Option<String>, street: Option<String>, postal_box: Option<String>, town: Option<String>, region: Option<String>, postal_code: Option<String>, country: Option<String>, facsimile_number: Option<String>, telephone_number: Option<String>, electronic_mail_address: Option<String>, telex_number: Option<String>, organizations: Vec<OrganizationRef>, description: Option<String>, ) -> Result<OrganizationalAddressId, AuthorError>

ORGANIZATIONAL_ADDRESS — strict AP242 constructor.

Source

pub fn add_organizational_project( &mut self, name: String, description: Option<String>, responsible_organizations: Vec<OrganizationRef>, ) -> Result<OrganizationalProjectId, AuthorError>

ORGANIZATIONAL_PROJECT — strict AP242 constructor.

Source

pub fn add_organizational_project_relationship( &mut self, name: String, description: Option<String>, relating_organizational_project: OrganizationalProjectRef, related_organizational_project: OrganizationalProjectRef, ) -> Result<OrganizationalProjectRelationshipId, AuthorError>

ORGANIZATIONAL_PROJECT_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_organizational_project_role( &mut self, name: String, description: Option<String>, ) -> Result<OrganizationalProjectRoleId, AuthorError>

ORGANIZATIONAL_PROJECT_ROLE — strict AP242 constructor.

Source

pub fn add_oriented_closed_shell( &mut self, name: String, closed_shell_element: ClosedShellRef, orientation: bool, ) -> Result<OrientedClosedShellId, AuthorError>

ORIENTED_CLOSED_SHELL — strict AP242 constructor.

Source

pub fn add_oriented_edge( &mut self, name: String, edge_element: EdgeRef, orientation: bool, ) -> Result<OrientedEdgeId, AuthorError>

ORIENTED_EDGE — strict AP242 constructor.

Source

pub fn add_over_riding_styled_item( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, over_ridden_style: StyledItemRef, ) -> Result<OverRidingStyledItemId, AuthorError>

OVER_RIDING_STYLED_ITEM — strict AP242 constructor.

Source

pub fn add_parallelism_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<ParallelismToleranceId, AuthorError>

PARALLELISM_TOLERANCE — strict AP242 constructor.

Source

pub fn add_parametric_representation_context( &mut self, context_identifier: String, context_type: String, ) -> Result<ParametricRepresentationContextId, AuthorError>

PARAMETRIC_REPRESENTATION_CONTEXT — strict AP242 constructor.

Source

pub fn add_path( &mut self, name: String, edge_list: Vec<OrientedEdgeRef>, ) -> Result<PathId, AuthorError>

PATH — strict AP242 constructor.

Source

pub fn add_pcurve( &mut self, name: String, basis_surface: SurfaceRef, reference_to_curve: DefinitionalRepresentationRef, ) -> Result<PcurveId, AuthorError>

PCURVE — strict AP242 constructor.

Source

pub fn add_perpendicularity_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<PerpendicularityToleranceId, AuthorError>

PERPENDICULARITY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_person( &mut self, id: String, last_name: Option<String>, first_name: Option<String>, middle_names: Option<Vec<String>>, prefix_titles: Option<Vec<String>>, suffix_titles: Option<Vec<String>>, ) -> Result<PersonId, AuthorError>

PERSON — strict AP242 constructor.

Source

pub fn add_person_and_organization( &mut self, the_person: PersonRef, the_organization: OrganizationRef, ) -> Result<PersonAndOrganizationId, AuthorError>

PERSON_AND_ORGANIZATION — strict AP242 constructor.

Source

pub fn add_person_and_organization_address( &mut self, internal_location: Option<String>, street_number: Option<String>, street: Option<String>, postal_box: Option<String>, town: Option<String>, region: Option<String>, postal_code: Option<String>, country: Option<String>, facsimile_number: Option<String>, telephone_number: Option<String>, electronic_mail_address: Option<String>, telex_number: Option<String>, organizations: Vec<OrganizationRef>, description: Option<String>, people: Vec<PersonRef>, description_1: Option<String>, ) -> Result<PersonAndOrganizationAddressId, AuthorError>

PERSON_AND_ORGANIZATION_ADDRESS — strict AP242 constructor.

Source

pub fn add_person_and_organization_assignment( &mut self, assigned_person_and_organization: PersonAndOrganizationRef, role: PersonAndOrganizationRoleRef, ) -> Result<PersonAndOrganizationAssignmentId, AuthorError>

PERSON_AND_ORGANIZATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_person_and_organization_role( &mut self, name: String, ) -> Result<PersonAndOrganizationRoleId, AuthorError>

PERSON_AND_ORGANIZATION_ROLE — strict AP242 constructor.

Source

pub fn add_personal_address( &mut self, internal_location: Option<String>, street_number: Option<String>, street: Option<String>, postal_box: Option<String>, town: Option<String>, region: Option<String>, postal_code: Option<String>, country: Option<String>, facsimile_number: Option<String>, telephone_number: Option<String>, electronic_mail_address: Option<String>, telex_number: Option<String>, people: Vec<PersonRef>, description: Option<String>, ) -> Result<PersonalAddressId, AuthorError>

PERSONAL_ADDRESS — strict AP242 constructor.

Source

pub fn add_placed_datum_target_feature( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, target_id: String, ) -> Result<PlacedDatumTargetFeatureId, AuthorError>

PLACED_DATUM_TARGET_FEATURE — strict AP242 constructor.

Source

pub fn add_placement( &mut self, name: String, location: CartesianPointRef, ) -> Result<PlacementId, AuthorError>

PLACEMENT — strict AP242 constructor.

Source

pub fn add_planar_box( &mut self, name: String, size_in_x: f64, size_in_y: f64, placement: Axis2PlacementRef, ) -> Result<PlanarBoxId, AuthorError>

PLANAR_BOX — strict AP242 constructor.

Source

pub fn add_planar_extent( &mut self, name: String, size_in_x: f64, size_in_y: f64, ) -> Result<PlanarExtentId, AuthorError>

PLANAR_EXTENT — strict AP242 constructor.

Source

pub fn add_plane( &mut self, name: String, position: Axis2Placement3dRef, ) -> Result<PlaneId, AuthorError>

PLANE — strict AP242 constructor.

Source

pub fn add_plane_angle_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<PlaneAngleMeasureWithUnitId, AuthorError>

PLANE_ANGLE_MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_plane_angle_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<PlaneAngleUnitId, AuthorError>

PLANE_ANGLE_UNIT — strict AP242 constructor.

Source

pub fn add_plus_minus_tolerance( &mut self, range: ToleranceMethodDefinitionRef, toleranced_dimension: DimensionalCharacteristicRef, ) -> Result<PlusMinusToleranceId, AuthorError>

PLUS_MINUS_TOLERANCE — strict AP242 constructor.

Source

pub fn add_point(&mut self, name: String) -> Result<PointId, AuthorError>

POINT — strict AP242 constructor.

Source

pub fn add_point_style( &mut self, name: String, marker: Option<MarkerSelectRef>, marker_size: Option<SizeSelectRef>, marker_colour: Option<ColourRef>, ) -> Result<PointStyleId, AuthorError>

POINT_STYLE — strict AP242 constructor.

Source

pub fn add_poly_loop( &mut self, name: String, polygon: Vec<CartesianPointRef>, ) -> Result<PolyLoopId, AuthorError>

POLY_LOOP — strict AP242 constructor.

Source

pub fn add_polyline( &mut self, name: String, points: Vec<CartesianPointRef>, ) -> Result<PolylineId, AuthorError>

POLYLINE — strict AP242 constructor.

Source

pub fn add_position_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<PositionToleranceId, AuthorError>

POSITION_TOLERANCE — strict AP242 constructor.

Source

pub fn add_pre_defined_character_glyph( &mut self, name: String, ) -> Result<PreDefinedCharacterGlyphId, AuthorError>

PRE_DEFINED_CHARACTER_GLYPH — strict AP242 constructor.

Source

pub fn add_pre_defined_colour( &mut self, name: String, ) -> Result<PreDefinedColourId, AuthorError>

PRE_DEFINED_COLOUR — strict AP242 constructor.

Source

pub fn add_pre_defined_curve_font( &mut self, name: String, ) -> Result<PreDefinedCurveFontId, AuthorError>

PRE_DEFINED_CURVE_FONT — strict AP242 constructor.

Source

pub fn add_pre_defined_item( &mut self, name: String, ) -> Result<PreDefinedItemId, AuthorError>

PRE_DEFINED_ITEM — strict AP242 constructor.

Source

pub fn add_pre_defined_marker( &mut self, name: String, ) -> Result<PreDefinedMarkerId, AuthorError>

PRE_DEFINED_MARKER — strict AP242 constructor.

Source

pub fn add_pre_defined_point_marker_symbol( &mut self, name: String, ) -> Result<PreDefinedPointMarkerSymbolId, AuthorError>

PRE_DEFINED_POINT_MARKER_SYMBOL — strict AP242 constructor.

Source

pub fn add_pre_defined_surface_side_style( &mut self, name: String, ) -> Result<PreDefinedSurfaceSideStyleId, AuthorError>

PRE_DEFINED_SURFACE_SIDE_STYLE — strict AP242 constructor.

Source

pub fn add_pre_defined_symbol( &mut self, name: String, ) -> Result<PreDefinedSymbolId, AuthorError>

PRE_DEFINED_SYMBOL — strict AP242 constructor.

Source

pub fn add_pre_defined_terminator_symbol( &mut self, name: String, ) -> Result<PreDefinedTerminatorSymbolId, AuthorError>

PRE_DEFINED_TERMINATOR_SYMBOL — strict AP242 constructor.

Source

pub fn add_pre_defined_text_font( &mut self, name: String, ) -> Result<PreDefinedTextFontId, AuthorError>

PRE_DEFINED_TEXT_FONT — strict AP242 constructor.

Source

pub fn add_pre_defined_tile( &mut self, name: String, ) -> Result<PreDefinedTileId, AuthorError>

PRE_DEFINED_TILE — strict AP242 constructor.

Source

pub fn add_precision_qualifier( &mut self, precision_value: i64, ) -> Result<PrecisionQualifierId, AuthorError>

PRECISION_QUALIFIER — strict AP242 constructor.

Source

pub fn add_presentation_area( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<PresentationAreaId, AuthorError>

PRESENTATION_AREA — strict AP242 constructor.

Source

pub fn add_presentation_layer_assignment( &mut self, name: String, description: String, assigned_items: Vec<LayeredItemRef>, ) -> Result<PresentationLayerAssignmentId, AuthorError>

PRESENTATION_LAYER_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_presentation_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<PresentationRepresentationId, AuthorError>

PRESENTATION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_presentation_set(&mut self) -> Result<PresentationSetId, AuthorError>

PRESENTATION_SET — strict AP242 constructor.

Source

pub fn add_presentation_size( &mut self, unit: PresentationSizeAssignmentSelectRef, size: PlanarBoxRef, ) -> Result<PresentationSizeId, AuthorError>

PRESENTATION_SIZE — strict AP242 constructor.

Source

pub fn add_presentation_style_assignment( &mut self, styles: Vec<PresentationStyleSelectRef>, ) -> Result<PresentationStyleAssignmentId, AuthorError>

PRESENTATION_STYLE_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_presentation_style_by_context( &mut self, styles: Vec<PresentationStyleSelectRef>, style_context: StyleContextSelectRef, ) -> Result<PresentationStyleByContextId, AuthorError>

PRESENTATION_STYLE_BY_CONTEXT — strict AP242 constructor.

Source

pub fn add_presentation_view( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<PresentationViewId, AuthorError>

PRESENTATION_VIEW — strict AP242 constructor.

Source

pub fn add_presented_item(&mut self) -> Result<PresentedItemId, AuthorError>

PRESENTED_ITEM — strict AP242 constructor.

Source

pub fn add_presented_item_representation( &mut self, presentation: PresentationRepresentationSelectRef, item: PresentedItemRef, ) -> Result<PresentedItemRepresentationId, AuthorError>

PRESENTED_ITEM_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_product( &mut self, id: String, name: String, description: Option<String>, frame_of_reference: Vec<ProductContextRef>, ) -> Result<ProductId, AuthorError>

PRODUCT — strict AP242 constructor.

Source

pub fn add_product_category( &mut self, name: String, description: Option<String>, ) -> Result<ProductCategoryId, AuthorError>

PRODUCT_CATEGORY — strict AP242 constructor.

Source

pub fn add_product_category_relationship( &mut self, name: String, description: Option<String>, category: ProductCategoryRef, sub_category: ProductCategoryRef, ) -> Result<ProductCategoryRelationshipId, AuthorError>

PRODUCT_CATEGORY_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_product_concept( &mut self, id: String, name: String, description: Option<String>, market_context: ProductConceptContextRef, ) -> Result<ProductConceptId, AuthorError>

PRODUCT_CONCEPT — strict AP242 constructor.

Source

pub fn add_product_concept_context( &mut self, name: String, frame_of_reference: ApplicationContextRef, market_segment_type: String, ) -> Result<ProductConceptContextId, AuthorError>

PRODUCT_CONCEPT_CONTEXT — strict AP242 constructor.

Source

pub fn add_product_concept_feature( &mut self, id: String, name: String, description: Option<String>, ) -> Result<ProductConceptFeatureId, AuthorError>

PRODUCT_CONCEPT_FEATURE — strict AP242 constructor.

Source

pub fn add_product_concept_feature_category( &mut self, name: String, description: Option<String>, ) -> Result<ProductConceptFeatureCategoryId, AuthorError>

PRODUCT_CONCEPT_FEATURE_CATEGORY — strict AP242 constructor.

Source

pub fn add_product_context( &mut self, name: String, frame_of_reference: ApplicationContextRef, discipline_type: String, ) -> Result<ProductContextId, AuthorError>

PRODUCT_CONTEXT — strict AP242 constructor.

Source

pub fn add_product_definition( &mut self, id: String, description: Option<String>, formation: ProductDefinitionFormationRef, frame_of_reference: ProductDefinitionContextRef, ) -> Result<ProductDefinitionId, AuthorError>

PRODUCT_DEFINITION — strict AP242 constructor.

Source

pub fn add_product_definition_context( &mut self, name: String, frame_of_reference: ApplicationContextRef, life_cycle_stage: String, ) -> Result<ProductDefinitionContextId, AuthorError>

PRODUCT_DEFINITION_CONTEXT — strict AP242 constructor.

Source

pub fn add_product_definition_context_association( &mut self, definition: ProductDefinitionRef, frame_of_reference: ProductDefinitionContextRef, role: ProductDefinitionContextRoleRef, ) -> Result<ProductDefinitionContextAssociationId, AuthorError>

PRODUCT_DEFINITION_CONTEXT_ASSOCIATION — strict AP242 constructor.

Source

pub fn add_product_definition_context_role( &mut self, name: String, description: Option<String>, ) -> Result<ProductDefinitionContextRoleId, AuthorError>

PRODUCT_DEFINITION_CONTEXT_ROLE — strict AP242 constructor.

Source

pub fn add_product_definition_effectivity( &mut self, id: String, usage: ProductDefinitionRelationshipRef, ) -> Result<ProductDefinitionEffectivityId, AuthorError>

PRODUCT_DEFINITION_EFFECTIVITY — strict AP242 constructor.

Source

pub fn add_product_definition_formation( &mut self, id: String, description: Option<String>, of_product: ProductRef, ) -> Result<ProductDefinitionFormationId, AuthorError>

PRODUCT_DEFINITION_FORMATION — strict AP242 constructor.

Source

pub fn add_product_definition_formation_with_specified_source( &mut self, id: String, description: Option<String>, of_product: ProductRef, make_or_buy: Source, ) -> Result<ProductDefinitionFormationWithSpecifiedSourceId, AuthorError>

PRODUCT_DEFINITION_FORMATION_WITH_SPECIFIED_SOURCE — strict AP242 constructor.

Source

pub fn add_product_definition_occurrence( &mut self, id: String, name: Option<String>, description: Option<String>, definition: Option<ProductDefinitionOrReferenceRef>, quantity: Option<MeasureWithUnitRef>, ) -> Result<ProductDefinitionOccurrenceId, AuthorError>

PRODUCT_DEFINITION_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_product_definition_relationship( &mut self, id: String, name: String, description: Option<String>, relating_product_definition: ProductDefinitionOrReferenceRef, related_product_definition: ProductDefinitionOrReferenceRef, ) -> Result<ProductDefinitionRelationshipId, AuthorError>

PRODUCT_DEFINITION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_product_definition_relationship_relationship( &mut self, id: String, name: String, description: Option<String>, relating: ProductDefinitionRelationshipRef, related: ProductDefinitionRelationshipRef, ) -> Result<ProductDefinitionRelationshipRelationshipId, AuthorError>

PRODUCT_DEFINITION_RELATIONSHIP_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_product_definition_shape( &mut self, name: String, description: Option<String>, definition: CharacterizedDefinitionRef, ) -> Result<ProductDefinitionShapeId, AuthorError>

PRODUCT_DEFINITION_SHAPE — strict AP242 constructor.

Source

pub fn add_product_definition_substitute( &mut self, description: Option<String>, context_relationship: ProductDefinitionRelationshipRef, substitute_definition: ProductDefinitionRef, ) -> Result<ProductDefinitionSubstituteId, AuthorError>

PRODUCT_DEFINITION_SUBSTITUTE — strict AP242 constructor.

Source

pub fn add_product_definition_usage( &mut self, id: String, name: String, description: Option<String>, relating_product_definition: ProductDefinitionOrReferenceRef, related_product_definition: ProductDefinitionOrReferenceRef, ) -> Result<ProductDefinitionUsageId, AuthorError>

PRODUCT_DEFINITION_USAGE — strict AP242 constructor.

Source

pub fn add_product_definition_with_associated_documents( &mut self, id: String, description: Option<String>, formation: ProductDefinitionFormationRef, frame_of_reference: ProductDefinitionContextRef, documentation_ids: Vec<DocumentRef>, ) -> Result<ProductDefinitionWithAssociatedDocumentsId, AuthorError>

PRODUCT_DEFINITION_WITH_ASSOCIATED_DOCUMENTS — strict AP242 constructor.

PRODUCT_RELATED_PRODUCT_CATEGORY — strict AP242 constructor.

Source

pub fn add_projected_zone_definition( &mut self, zone: ToleranceZoneRef, boundaries: Vec<ShapeAspectRef>, projection_end: ShapeAspectRef, projected_length: LengthMeasureWithUnitRef, ) -> Result<ProjectedZoneDefinitionId, AuthorError>

PROJECTED_ZONE_DEFINITION — strict AP242 constructor.

Source

pub fn add_property_definition( &mut self, name: String, description: Option<String>, definition: CharacterizedDefinitionRef, ) -> Result<PropertyDefinitionId, AuthorError>

PROPERTY_DEFINITION — strict AP242 constructor.

Source

pub fn add_property_definition_relationship( &mut self, name: String, description: String, relating_property_definition: PropertyDefinitionRef, related_property_definition: PropertyDefinitionRef, ) -> Result<PropertyDefinitionRelationshipId, AuthorError>

PROPERTY_DEFINITION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_property_definition_representation( &mut self, definition: RepresentedDefinitionRef, used_representation: RepresentationRef, ) -> Result<PropertyDefinitionRepresentationId, AuthorError>

PROPERTY_DEFINITION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_qualified_representation_item( &mut self, name: String, qualifiers: Vec<ValueQualifierRef>, ) -> Result<QualifiedRepresentationItemId, AuthorError>

QUALIFIED_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_quasi_uniform_curve( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, ) -> Result<QuasiUniformCurveId, AuthorError>

QUASI_UNIFORM_CURVE — strict AP242 constructor.

Source

pub fn add_quasi_uniform_surface( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, ) -> Result<QuasiUniformSurfaceId, AuthorError>

QUASI_UNIFORM_SURFACE — strict AP242 constructor.

Source

pub fn add_ratio_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, ) -> Result<RatioMeasureWithUnitId, AuthorError>

RATIO_MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_ratio_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<RatioUnitId, AuthorError>

RATIO_UNIT — strict AP242 constructor.

Source

pub fn add_rational_b_spline_curve( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, weights_data: Vec<f64>, ) -> Result<RationalBSplineCurveId, AuthorError>

RATIONAL_B_SPLINE_CURVE — strict AP242 constructor.

Source

pub fn add_rational_b_spline_surface( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, weights_data: Vec<Vec<f64>>, ) -> Result<RationalBSplineSurfaceId, AuthorError>

RATIONAL_B_SPLINE_SURFACE — strict AP242 constructor.

Source

pub fn add_real_literal( &mut self, the_value: f64, ) -> Result<RealLiteralId, AuthorError>

REAL_LITERAL — strict AP242 constructor.

Source

pub fn add_real_representation_item( &mut self, name: String, the_value: f64, ) -> Result<RealRepresentationItemId, AuthorError>

REAL_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_repositioned_tessellated_item( &mut self, name: String, location: Axis2Placement3dRef, ) -> Result<RepositionedTessellatedItemId, AuthorError>

REPOSITIONED_TESSELLATED_ITEM — strict AP242 constructor.

Source

pub fn add_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<RepresentationId, AuthorError>

REPRESENTATION — strict AP242 constructor.

Source

pub fn add_representation_context( &mut self, context_identifier: String, context_type: String, ) -> Result<RepresentationContextId, AuthorError>

REPRESENTATION_CONTEXT — strict AP242 constructor.

Source

pub fn add_representation_context_reference( &mut self, context_identifier: String, ) -> Result<RepresentationContextReferenceId, AuthorError>

REPRESENTATION_CONTEXT_REFERENCE — strict AP242 constructor.

Source

pub fn add_representation_item( &mut self, name: String, ) -> Result<RepresentationItemId, AuthorError>

REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_representation_map( &mut self, mapping_origin: RepresentationItemRef, mapped_representation: RepresentationRef, ) -> Result<RepresentationMapId, AuthorError>

REPRESENTATION_MAP — strict AP242 constructor.

Source

pub fn add_representation_reference( &mut self, id: String, context_of_items: RepresentationContextReferenceRef, ) -> Result<RepresentationReferenceId, AuthorError>

REPRESENTATION_REFERENCE — strict AP242 constructor.

Source

pub fn add_representation_relationship( &mut self, name: String, description: Option<String>, rep_1: RepresentationOrRepresentationReferenceRef, rep_2: RepresentationOrRepresentationReferenceRef, ) -> Result<RepresentationRelationshipId, AuthorError>

REPRESENTATION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_representation_relationship_with_transformation( &mut self, name: String, description: Option<String>, rep_1: RepresentationOrRepresentationReferenceRef, rep_2: RepresentationOrRepresentationReferenceRef, transformation_operator: TransformationRef, ) -> Result<RepresentationRelationshipWithTransformationId, AuthorError>

REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION — strict AP242 constructor.

Source

pub fn add_resource_property( &mut self, name: String, description: String, resource: CharacterizedResourceDefinitionRef, ) -> Result<ResourcePropertyId, AuthorError>

RESOURCE_PROPERTY — strict AP242 constructor.

Source

pub fn add_resource_requirement_type( &mut self, name: String, description: String, ) -> Result<ResourceRequirementTypeId, AuthorError>

RESOURCE_REQUIREMENT_TYPE — strict AP242 constructor.

Source

pub fn add_role_association( &mut self, role: ObjectRoleRef, item_with_role: RoleSelectRef, ) -> Result<RoleAssociationId, AuthorError>

ROLE_ASSOCIATION — strict AP242 constructor.

Source

pub fn add_roundness_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<RoundnessToleranceId, AuthorError>

ROUNDNESS_TOLERANCE — strict AP242 constructor.

Source

pub fn add_seam_curve( &mut self, name: String, curve_3d: CurveRef, associated_geometry: Vec<PcurveOrSurfaceRef>, master_representation: PreferredSurfaceCurveRepresentation, ) -> Result<SeamCurveId, AuthorError>

SEAM_CURVE — strict AP242 constructor.

Source

pub fn add_security_classification( &mut self, name: String, purpose: String, security_level: SecurityClassificationLevelRef, ) -> Result<SecurityClassificationId, AuthorError>

SECURITY_CLASSIFICATION — strict AP242 constructor.

Source

pub fn add_security_classification_assignment( &mut self, assigned_security_classification: SecurityClassificationRef, ) -> Result<SecurityClassificationAssignmentId, AuthorError>

SECURITY_CLASSIFICATION_ASSIGNMENT — strict AP242 constructor.

Source

pub fn add_security_classification_level( &mut self, name: String, ) -> Result<SecurityClassificationLevelId, AuthorError>

SECURITY_CLASSIFICATION_LEVEL — strict AP242 constructor.

Source

pub fn add_shape_aspect( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Option<Logical>, ) -> Result<ShapeAspectId, AuthorError>

SHAPE_ASPECT — strict AP242 constructor.

Source

pub fn add_shape_aspect_associativity( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<ShapeAspectAssociativityId, AuthorError>

SHAPE_ASPECT_ASSOCIATIVITY — strict AP242 constructor.

Source

pub fn add_shape_aspect_deriving_relationship( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<ShapeAspectDerivingRelationshipId, AuthorError>

SHAPE_ASPECT_DERIVING_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_shape_aspect_relationship( &mut self, name: String, description: Option<String>, relating_shape_aspect: ShapeAspectRef, related_shape_aspect: ShapeAspectRef, ) -> Result<ShapeAspectRelationshipId, AuthorError>

SHAPE_ASPECT_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_shape_definition_representation( &mut self, definition: RepresentedDefinitionRef, used_representation: RepresentationRef, ) -> Result<ShapeDefinitionRepresentationId, AuthorError>

SHAPE_DEFINITION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_shape_dimension_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<ShapeDimensionRepresentationId, AuthorError>

SHAPE_DIMENSION_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<ShapeRepresentationId, AuthorError>

SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_shape_representation_relationship( &mut self, name: String, description: Option<String>, rep_1: RepresentationOrRepresentationReferenceRef, rep_2: RepresentationOrRepresentationReferenceRef, ) -> Result<ShapeRepresentationRelationshipId, AuthorError>

SHAPE_REPRESENTATION_RELATIONSHIP — strict AP242 constructor.

Source

pub fn add_shape_representation_with_parameters( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<ShapeRepresentationWithParametersId, AuthorError>

SHAPE_REPRESENTATION_WITH_PARAMETERS — strict AP242 constructor.

Source

pub fn add_shell_based_surface_model( &mut self, name: String, sbsm_boundary: Vec<ShellRef>, ) -> Result<ShellBasedSurfaceModelId, AuthorError>

SHELL_BASED_SURFACE_MODEL — strict AP242 constructor.

Source

pub fn add_si_unit( &mut self, prefix: Option<SiPrefix>, name: SiUnitName, ) -> Result<SiUnitId, AuthorError>

SI_UNIT — strict AP242 constructor.

Source

pub fn add_simple_generic_expression( &mut self, ) -> Result<SimpleGenericExpressionId, AuthorError>

SIMPLE_GENERIC_EXPRESSION — strict AP242 constructor.

Source

pub fn add_simple_numeric_expression( &mut self, ) -> Result<SimpleNumericExpressionId, AuthorError>

SIMPLE_NUMERIC_EXPRESSION — strict AP242 constructor.

Source

pub fn add_solid_angle_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<SolidAngleUnitId, AuthorError>

SOLID_ANGLE_UNIT — strict AP242 constructor.

Source

pub fn add_solid_model( &mut self, name: String, ) -> Result<SolidModelId, AuthorError>

SOLID_MODEL — strict AP242 constructor.

Source

pub fn add_spherical_surface( &mut self, name: String, position: Axis2Placement3dRef, radius: f64, ) -> Result<SphericalSurfaceId, AuthorError>

SPHERICAL_SURFACE — strict AP242 constructor.

Source

pub fn add_start_request( &mut self, assigned_action_request: VersionedActionRequestRef, items: Vec<StartRequestItemRef>, ) -> Result<StartRequestId, AuthorError>

START_REQUEST — strict AP242 constructor.

Source

pub fn add_start_work( &mut self, assigned_action: ActionRef, items: Vec<WorkItemRef>, ) -> Result<StartWorkId, AuthorError>

START_WORK — strict AP242 constructor.

Source

pub fn add_state_observed( &mut self, name: String, description: Option<String>, ) -> Result<StateObservedId, AuthorError>

STATE_OBSERVED — strict AP242 constructor.

Source

pub fn add_state_type( &mut self, name: String, description: Option<String>, ) -> Result<StateTypeId, AuthorError>

STATE_TYPE — strict AP242 constructor.

Source

pub fn add_straightness_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<StraightnessToleranceId, AuthorError>

STRAIGHTNESS_TOLERANCE — strict AP242 constructor.

Source

pub fn add_styled_item( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, ) -> Result<StyledItemId, AuthorError>

STYLED_ITEM — strict AP242 constructor.

Source

pub fn add_surface(&mut self, name: String) -> Result<SurfaceId, AuthorError>

SURFACE — strict AP242 constructor.

Source

pub fn add_surface_curve( &mut self, name: String, curve_3d: CurveRef, associated_geometry: Vec<PcurveOrSurfaceRef>, master_representation: PreferredSurfaceCurveRepresentation, ) -> Result<SurfaceCurveId, AuthorError>

SURFACE_CURVE — strict AP242 constructor.

Source

pub fn add_surface_of_linear_extrusion( &mut self, name: String, swept_curve: CurveRef, extrusion_axis: VectorRef, ) -> Result<SurfaceOfLinearExtrusionId, AuthorError>

SURFACE_OF_LINEAR_EXTRUSION — strict AP242 constructor.

Source

pub fn add_surface_of_revolution( &mut self, name: String, swept_curve: CurveRef, axis_position: Axis1PlacementRef, ) -> Result<SurfaceOfRevolutionId, AuthorError>

SURFACE_OF_REVOLUTION — strict AP242 constructor.

Source

pub fn add_surface_profile_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, ) -> Result<SurfaceProfileToleranceId, AuthorError>

SURFACE_PROFILE_TOLERANCE — strict AP242 constructor.

Source

pub fn add_surface_rendering_properties( &mut self, rendered_colour: ColourRef, ) -> Result<SurfaceRenderingPropertiesId, AuthorError>

SURFACE_RENDERING_PROPERTIES — strict AP242 constructor.

Source

pub fn add_surface_side_style( &mut self, name: String, styles: Vec<SurfaceStyleElementSelectRef>, ) -> Result<SurfaceSideStyleId, AuthorError>

SURFACE_SIDE_STYLE — strict AP242 constructor.

Source

pub fn add_surface_style_boundary( &mut self, style_of_boundary: CurveOrRenderRef, ) -> Result<SurfaceStyleBoundaryId, AuthorError>

SURFACE_STYLE_BOUNDARY — strict AP242 constructor.

Source

pub fn add_surface_style_control_grid( &mut self, style_of_control_grid: CurveOrRenderRef, ) -> Result<SurfaceStyleControlGridId, AuthorError>

SURFACE_STYLE_CONTROL_GRID — strict AP242 constructor.

Source

pub fn add_surface_style_fill_area( &mut self, fill_area: FillAreaStyleRef, ) -> Result<SurfaceStyleFillAreaId, AuthorError>

SURFACE_STYLE_FILL_AREA — strict AP242 constructor.

Source

pub fn add_surface_style_parameter_line( &mut self, style_of_parameter_lines: CurveOrRenderRef, direction_counts: Vec<IntMeasureValue>, ) -> Result<SurfaceStyleParameterLineId, AuthorError>

SURFACE_STYLE_PARAMETER_LINE — strict AP242 constructor.

Source

pub fn add_surface_style_reflectance_ambient( &mut self, ambient_reflectance: f64, ) -> Result<SurfaceStyleReflectanceAmbientId, AuthorError>

SURFACE_STYLE_REFLECTANCE_AMBIENT — strict AP242 constructor.

Source

pub fn add_surface_style_rendering( &mut self, rendering_method: ShadingSurfaceMethod, surface_colour: ColourRef, ) -> Result<SurfaceStyleRenderingId, AuthorError>

SURFACE_STYLE_RENDERING — strict AP242 constructor.

Source

pub fn add_surface_style_rendering_with_properties( &mut self, rendering_method: ShadingSurfaceMethod, surface_colour: ColourRef, properties: Vec<RenderingPropertiesSelectRef>, ) -> Result<SurfaceStyleRenderingWithPropertiesId, AuthorError>

SURFACE_STYLE_RENDERING_WITH_PROPERTIES — strict AP242 constructor.

Source

pub fn add_surface_style_segmentation_curve( &mut self, style_of_segmentation_curve: CurveOrRenderRef, ) -> Result<SurfaceStyleSegmentationCurveId, AuthorError>

SURFACE_STYLE_SEGMENTATION_CURVE — strict AP242 constructor.

Source

pub fn add_surface_style_silhouette( &mut self, style_of_silhouette: CurveOrRenderRef, ) -> Result<SurfaceStyleSilhouetteId, AuthorError>

SURFACE_STYLE_SILHOUETTE — strict AP242 constructor.

Source

pub fn add_surface_style_transparent( &mut self, transparency: f64, ) -> Result<SurfaceStyleTransparentId, AuthorError>

SURFACE_STYLE_TRANSPARENT — strict AP242 constructor.

Source

pub fn add_surface_style_usage( &mut self, side: SurfaceSide, style: SurfaceSideStyleSelectRef, ) -> Result<SurfaceStyleUsageId, AuthorError>

SURFACE_STYLE_USAGE — strict AP242 constructor.

Source

pub fn add_swept_surface( &mut self, name: String, swept_curve: CurveRef, ) -> Result<SweptSurfaceId, AuthorError>

SWEPT_SURFACE — strict AP242 constructor.

Source

pub fn add_symbol_colour( &mut self, colour_of_symbol: ColourRef, ) -> Result<SymbolColourId, AuthorError>

SYMBOL_COLOUR — strict AP242 constructor.

Source

pub fn add_symbol_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<SymbolRepresentationId, AuthorError>

SYMBOL_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_symbol_style( &mut self, name: String, style_of_symbol: SymbolStyleSelectRef, ) -> Result<SymbolStyleId, AuthorError>

SYMBOL_STYLE — strict AP242 constructor.

Source

pub fn add_symbol_target( &mut self, name: String, placement: Axis2PlacementRef, x_scale: f64, y_scale: f64, ) -> Result<SymbolTargetId, AuthorError>

SYMBOL_TARGET — strict AP242 constructor.

Source

pub fn add_symmetry_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<SymmetryToleranceId, AuthorError>

SYMMETRY_TOLERANCE — strict AP242 constructor.

Source

pub fn add_terminator_symbol( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: AnnotationSymbolOccurrenceItemRef, annotated_curve: AnnotationCurveOccurrenceRef, ) -> Result<TerminatorSymbolId, AuthorError>

TERMINATOR_SYMBOL — strict AP242 constructor.

Source

pub fn add_tessellated_annotation_occurrence( &mut self, name: String, styles: Vec<PresentationStyleAssignmentRef>, item: StyledItemTargetRef, ) -> Result<TessellatedAnnotationOccurrenceId, AuthorError>

TESSELLATED_ANNOTATION_OCCURRENCE — strict AP242 constructor.

Source

pub fn add_tessellated_curve_set( &mut self, name: String, coordinates: CoordinatesListRef, line_strips: Vec<Vec<i64>>, ) -> Result<TessellatedCurveSetId, AuthorError>

TESSELLATED_CURVE_SET — strict AP242 constructor.

Source

pub fn add_tessellated_face( &mut self, name: String, coordinates: CoordinatesListRef, pnmax: i64, normals: Vec<Vec<f64>>, geometric_link: Option<FaceOrSurfaceRef>, ) -> Result<TessellatedFaceId, AuthorError>

TESSELLATED_FACE — strict AP242 constructor.

Source

pub fn add_tessellated_geometric_set( &mut self, name: String, children: Vec<TessellatedItemRef>, ) -> Result<TessellatedGeometricSetId, AuthorError>

TESSELLATED_GEOMETRIC_SET — strict AP242 constructor.

Source

pub fn add_tessellated_item( &mut self, name: String, ) -> Result<TessellatedItemId, AuthorError>

TESSELLATED_ITEM — strict AP242 constructor.

Source

pub fn add_tessellated_shape_representation( &mut self, name: String, items: Vec<RepresentationItemRef>, context_of_items: RepresentationContextRef, ) -> Result<TessellatedShapeRepresentationId, AuthorError>

TESSELLATED_SHAPE_REPRESENTATION — strict AP242 constructor.

Source

pub fn add_tessellated_shell( &mut self, name: String, items: Vec<TessellatedStructuredItemRef>, topological_link: Option<ConnectedFaceSetRef>, ) -> Result<TessellatedShellId, AuthorError>

TESSELLATED_SHELL — strict AP242 constructor.

Source

pub fn add_tessellated_solid( &mut self, name: String, items: Vec<TessellatedStructuredItemRef>, geometric_link: Option<ManifoldSolidBrepRef>, ) -> Result<TessellatedSolidId, AuthorError>

TESSELLATED_SOLID — strict AP242 constructor.

Source

pub fn add_tessellated_structured_item( &mut self, name: String, ) -> Result<TessellatedStructuredItemId, AuthorError>

TESSELLATED_STRUCTURED_ITEM — strict AP242 constructor.

Source

pub fn add_tessellated_surface_set( &mut self, name: String, coordinates: CoordinatesListRef, pnmax: i64, normals: Vec<Vec<f64>>, ) -> Result<TessellatedSurfaceSetId, AuthorError>

TESSELLATED_SURFACE_SET — strict AP242 constructor.

Source

pub fn add_text_font( &mut self, id: String, name: String, description: String, ) -> Result<TextFontId, AuthorError>

TEXT_FONT — strict AP242 constructor.

Source

pub fn add_text_literal( &mut self, name: String, literal: String, placement: Axis2PlacementRef, alignment: String, path: TextPath, font: FontSelectRef, ) -> Result<TextLiteralId, AuthorError>

TEXT_LITERAL — strict AP242 constructor.

Source

pub fn add_text_style( &mut self, name: String, character_appearance: CharacterStyleSelectRef, ) -> Result<TextStyleId, AuthorError>

TEXT_STYLE — strict AP242 constructor.

Source

pub fn add_text_style_for_defined_font( &mut self, text_colour: ColourRef, ) -> Result<TextStyleForDefinedFontId, AuthorError>

TEXT_STYLE_FOR_DEFINED_FONT — strict AP242 constructor.

Source

pub fn add_text_style_with_box_characteristics( &mut self, name: String, character_appearance: CharacterStyleSelectRef, characteristics: Vec<MeasureValue>, ) -> Result<TextStyleWithBoxCharacteristicsId, AuthorError>

TEXT_STYLE_WITH_BOX_CHARACTERISTICS — strict AP242 constructor.

Source

pub fn add_texture_style_specification( &mut self, ) -> Result<TextureStyleSpecificationId, AuthorError>

TEXTURE_STYLE_SPECIFICATION — strict AP242 constructor.

Source

pub fn add_texture_style_tessellation_specification( &mut self, ) -> Result<TextureStyleTessellationSpecificationId, AuthorError>

TEXTURE_STYLE_TESSELLATION_SPECIFICATION — strict AP242 constructor.

Source

pub fn add_time_unit( &mut self, dimensions: DimensionalExponentsRef, ) -> Result<TimeUnitId, AuthorError>

TIME_UNIT — strict AP242 constructor.

Source

pub fn add_tolerance_value( &mut self, lower_bound: MeasureWithUnitRef, upper_bound: MeasureWithUnitRef, ) -> Result<ToleranceValueId, AuthorError>

TOLERANCE_VALUE — strict AP242 constructor.

Source

pub fn add_tolerance_zone( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, defining_tolerance: Vec<ToleranceZoneTargetRef>, form: ToleranceZoneFormRef, ) -> Result<ToleranceZoneId, AuthorError>

TOLERANCE_ZONE — strict AP242 constructor.

Source

pub fn add_tolerance_zone_definition( &mut self, zone: ToleranceZoneRef, boundaries: Vec<ShapeAspectRef>, ) -> Result<ToleranceZoneDefinitionId, AuthorError>

TOLERANCE_ZONE_DEFINITION — strict AP242 constructor.

Source

pub fn add_tolerance_zone_form( &mut self, name: String, ) -> Result<ToleranceZoneFormId, AuthorError>

TOLERANCE_ZONE_FORM — strict AP242 constructor.

Source

pub fn add_tolerance_zone_with_datum( &mut self, name: String, description: Option<String>, of_shape: ProductDefinitionShapeRef, product_definitional: Logical, defining_tolerance: Vec<ToleranceZoneTargetRef>, form: ToleranceZoneFormRef, datum_reference: DatumSystemRef, ) -> Result<ToleranceZoneWithDatumId, AuthorError>

TOLERANCE_ZONE_WITH_DATUM — strict AP242 constructor.

Source

pub fn add_topological_representation_item( &mut self, name: String, ) -> Result<TopologicalRepresentationItemId, AuthorError>

TOPOLOGICAL_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_toroidal_surface( &mut self, name: String, position: Axis2Placement3dRef, major_radius: f64, minor_radius: f64, ) -> Result<ToroidalSurfaceId, AuthorError>

TOROIDAL_SURFACE — strict AP242 constructor.

Source

pub fn add_total_runout_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, datum_system: Vec<DatumSystemOrReferenceRef>, ) -> Result<TotalRunoutToleranceId, AuthorError>

TOTAL_RUNOUT_TOLERANCE — strict AP242 constructor.

Source

pub fn add_trimmed_curve( &mut self, name: String, basis_curve: CurveRef, trim_1: Vec<TrimmingSelectRef>, trim_2: Vec<TrimmingSelectRef>, sense_agreement: bool, master_representation: TrimmingPreference, ) -> Result<TrimmedCurveId, AuthorError>

TRIMMED_CURVE — strict AP242 constructor.

Source

pub fn add_two_direction_repeat_factor( &mut self, name: String, repeat_factor: VectorRef, second_repeat_factor: VectorRef, ) -> Result<TwoDirectionRepeatFactorId, AuthorError>

TWO_DIRECTION_REPEAT_FACTOR — strict AP242 constructor.

Source

pub fn add_type_qualifier( &mut self, name: String, ) -> Result<TypeQualifierId, AuthorError>

TYPE_QUALIFIER — strict AP242 constructor.

Source

pub fn add_uncertainty_measure_with_unit( &mut self, value_component: MeasureValue, unit_component: UnitRef, name: String, description: Option<String>, ) -> Result<UncertaintyMeasureWithUnitId, AuthorError>

UNCERTAINTY_MEASURE_WITH_UNIT — strict AP242 constructor.

Source

pub fn add_uncertainty_qualifier( &mut self, measure_name: String, description: String, ) -> Result<UncertaintyQualifierId, AuthorError>

UNCERTAINTY_QUALIFIER — strict AP242 constructor.

Source

pub fn add_unequally_disposed_geometric_tolerance( &mut self, name: String, description: Option<String>, magnitude: Option<LengthMeasureWithUnitRef>, toleranced_shape_aspect: GeometricToleranceTargetRef, displacement: LengthMeasureWithUnitRef, ) -> Result<UnequallyDisposedGeometricToleranceId, AuthorError>

UNEQUALLY_DISPOSED_GEOMETRIC_TOLERANCE — strict AP242 constructor.

Source

pub fn add_uniform_curve( &mut self, name: String, degree: i64, control_points_list: Vec<CartesianPointRef>, curve_form: BSplineCurveForm, closed_curve: Logical, self_intersect: Logical, ) -> Result<UniformCurveId, AuthorError>

UNIFORM_CURVE — strict AP242 constructor.

Source

pub fn add_uniform_surface( &mut self, name: String, u_degree: i64, v_degree: i64, control_points_list: Vec<Vec<CartesianPointRef>>, surface_form: BSplineSurfaceForm, u_closed: Logical, v_closed: Logical, self_intersect: Logical, ) -> Result<UniformSurfaceId, AuthorError>

UNIFORM_SURFACE — strict AP242 constructor.

Source

pub fn add_value_format_type_qualifier( &mut self, format_type: String, ) -> Result<ValueFormatTypeQualifierId, AuthorError>

VALUE_FORMAT_TYPE_QUALIFIER — strict AP242 constructor.

Source

pub fn add_value_representation_item( &mut self, name: String, value_component: MeasureValue, ) -> Result<ValueRepresentationItemId, AuthorError>

VALUE_REPRESENTATION_ITEM — strict AP242 constructor.

Source

pub fn add_vector( &mut self, name: String, orientation: DirectionRef, magnitude: f64, ) -> Result<VectorId, AuthorError>

VECTOR — strict AP242 constructor.

Source

pub fn add_versioned_action_request( &mut self, id: String, version: Option<String>, purpose: String, description: Option<String>, ) -> Result<VersionedActionRequestId, AuthorError>

VERSIONED_ACTION_REQUEST — strict AP242 constructor.

Source

pub fn add_vertex(&mut self, name: String) -> Result<VertexId, AuthorError>

VERTEX — strict AP242 constructor.

Source

pub fn add_vertex_loop( &mut self, name: String, loop_vertex: VertexRef, ) -> Result<VertexLoopId, AuthorError>

VERTEX_LOOP — strict AP242 constructor.

Source

pub fn add_vertex_point( &mut self, name: String, vertex_geometry: PointRef, ) -> Result<VertexPointId, AuthorError>

VERTEX_POINT — strict AP242 constructor.

Source

pub fn add_vertex_shell( &mut self, name: String, vertex_shell_extent: VertexLoopRef, ) -> Result<VertexShellId, AuthorError>

VERTEX_SHELL — strict AP242 constructor.

Source

pub fn add_view_volume( &mut self, projection_type: CentralOrParallel, projection_point: CartesianPointRef, view_plane_distance: f64, front_plane_distance: f64, front_plane_clipping: bool, back_plane_distance: f64, back_plane_clipping: bool, view_volume_sides_clipping: bool, view_window: PlanarBoxRef, ) -> Result<ViewVolumeId, AuthorError>

VIEW_VOLUME — strict AP242 constructor.

Source

pub fn add_volume_unit( &mut self, elements: Vec<DerivedUnitElementRef>, ) -> Result<VolumeUnitId, AuthorError>

VOLUME_UNIT — strict AP242 constructor.

Source

pub fn add_wire_shell( &mut self, name: String, wire_shell_extent: Vec<LoopRef>, ) -> Result<WireShellId, AuthorError>

WIRE_SHELL — strict AP242 constructor.

Source

pub fn add_annotation_placeholder_occurrence_cyclic( &mut self, build: impl FnOnce(AnnotationPlaceholderOccurrenceId) -> AnnotationPlaceholderOccurrence, ) -> Result<AnnotationPlaceholderOccurrenceId, AuthorError>

ANNOTATION_PLACEHOLDER_OCCURRENCE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_annotation_plane_cyclic( &mut self, build: impl FnOnce(AnnotationPlaneId) -> AnnotationPlane, ) -> Result<AnnotationPlaneId, AuthorError>

ANNOTATION_PLANE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_annotation_symbol_cyclic( &mut self, build: impl FnOnce(AnnotationSymbolId) -> AnnotationSymbol, ) -> Result<AnnotationSymbolId, AuthorError>

ANNOTATION_SYMBOL — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_approval_assignment_cyclic( &mut self, build: impl FnOnce(AppliedApprovalAssignmentId) -> AppliedApprovalAssignment, ) -> Result<AppliedApprovalAssignmentId, AuthorError>

APPLIED_APPROVAL_ASSIGNMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_date_and_time_assignment_cyclic( &mut self, build: impl FnOnce(AppliedDateAndTimeAssignmentId) -> AppliedDateAndTimeAssignment, ) -> Result<AppliedDateAndTimeAssignmentId, AuthorError>

APPLIED_DATE_AND_TIME_ASSIGNMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_document_reference_cyclic( &mut self, build: impl FnOnce(AppliedDocumentReferenceId) -> AppliedDocumentReference, ) -> Result<AppliedDocumentReferenceId, AuthorError>

APPLIED_DOCUMENT_REFERENCE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_external_identification_assignment_cyclic( &mut self, build: impl FnOnce(AppliedExternalIdentificationAssignmentId) -> AppliedExternalIdentificationAssignment, ) -> Result<AppliedExternalIdentificationAssignmentId, AuthorError>

APPLIED_EXTERNAL_IDENTIFICATION_ASSIGNMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_group_assignment_cyclic( &mut self, build: impl FnOnce(AppliedGroupAssignmentId) -> AppliedGroupAssignment, ) -> Result<AppliedGroupAssignmentId, AuthorError>

APPLIED_GROUP_ASSIGNMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_applied_person_and_organization_assignment_cyclic( &mut self, build: impl FnOnce(AppliedPersonAndOrganizationAssignmentId) -> AppliedPersonAndOrganizationAssignment, ) -> Result<AppliedPersonAndOrganizationAssignmentId, AuthorError>

APPLIED_PERSON_AND_ORGANIZATION_ASSIGNMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_bounded_surface_curve_cyclic( &mut self, build: impl FnOnce(BoundedSurfaceCurveId) -> BoundedSurfaceCurve, ) -> Result<BoundedSurfaceCurveId, AuthorError>

BOUNDED_SURFACE_CURVE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_camera_image_cyclic( &mut self, build: impl FnOnce(CameraImageId) -> CameraImage, ) -> Result<CameraImageId, AuthorError>

CAMERA_IMAGE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_camera_image3d_with_scale_cyclic( &mut self, build: impl FnOnce(CameraImage3dWithScaleId) -> CameraImage3dWithScale, ) -> Result<CameraImage3dWithScaleId, AuthorError>

CAMERA_IMAGE_3D_WITH_SCALE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_composite_text_cyclic( &mut self, build: impl FnOnce(CompositeTextId) -> CompositeText, ) -> Result<CompositeTextId, AuthorError>

COMPOSITE_TEXT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_compound_representation_item_cyclic( &mut self, build: impl FnOnce(CompoundRepresentationItemId) -> CompoundRepresentationItem, ) -> Result<CompoundRepresentationItemId, AuthorError>

COMPOUND_REPRESENTATION_ITEM — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_context_dependent_over_riding_styled_item_cyclic( &mut self, build: impl FnOnce(ContextDependentOverRidingStyledItemId) -> ContextDependentOverRidingStyledItem, ) -> Result<ContextDependentOverRidingStyledItemId, AuthorError>

CONTEXT_DEPENDENT_OVER_RIDING_STYLED_ITEM — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_datum_reference_element_cyclic( &mut self, build: impl FnOnce(DatumReferenceElementId) -> DatumReferenceElement, ) -> Result<DatumReferenceElementId, AuthorError>

DATUM_REFERENCE_ELEMENT — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_dimensional_size_with_datum_feature_cyclic( &mut self, build: impl FnOnce(DimensionalSizeWithDatumFeatureId) -> DimensionalSizeWithDatumFeature, ) -> Result<DimensionalSizeWithDatumFeatureId, AuthorError>

DIMENSIONAL_SIZE_WITH_DATUM_FEATURE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_intersection_curve_cyclic( &mut self, build: impl FnOnce(IntersectionCurveId) -> IntersectionCurve, ) -> Result<IntersectionCurveId, AuthorError>

INTERSECTION_CURVE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_mapped_item_cyclic( &mut self, build: impl FnOnce(MappedItemId) -> MappedItem, ) -> Result<MappedItemId, AuthorError>

MAPPED_ITEM — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_offset_surface_cyclic( &mut self, build: impl FnOnce(OffsetSurfaceId) -> OffsetSurface, ) -> Result<OffsetSurfaceId, AuthorError>

OFFSET_SURFACE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_oriented_closed_shell_cyclic( &mut self, build: impl FnOnce(OrientedClosedShellId) -> OrientedClosedShell, ) -> Result<OrientedClosedShellId, AuthorError>

ORIENTED_CLOSED_SHELL — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_oriented_edge_cyclic( &mut self, build: impl FnOnce(OrientedEdgeId) -> OrientedEdge, ) -> Result<OrientedEdgeId, AuthorError>

ORIENTED_EDGE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_over_riding_styled_item_cyclic( &mut self, build: impl FnOnce(OverRidingStyledItemId) -> OverRidingStyledItem, ) -> Result<OverRidingStyledItemId, AuthorError>

OVER_RIDING_STYLED_ITEM — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_product_definition_occurrence_cyclic( &mut self, build: impl FnOnce(ProductDefinitionOccurrenceId) -> ProductDefinitionOccurrence, ) -> Result<ProductDefinitionOccurrenceId, AuthorError>

PRODUCT_DEFINITION_OCCURRENCE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_product_definition_shape_cyclic( &mut self, build: impl FnOnce(ProductDefinitionShapeId) -> ProductDefinitionShape, ) -> Result<ProductDefinitionShapeId, AuthorError>

PRODUCT_DEFINITION_SHAPE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_seam_curve_cyclic( &mut self, build: impl FnOnce(SeamCurveId) -> SeamCurve, ) -> Result<SeamCurveId, AuthorError>

SEAM_CURVE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_surface_curve_cyclic( &mut self, build: impl FnOnce(SurfaceCurveId) -> SurfaceCurve, ) -> Result<SurfaceCurveId, AuthorError>

SURFACE_CURVE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_tessellated_geometric_set_cyclic( &mut self, build: impl FnOnce(TessellatedGeometricSetId) -> TessellatedGeometricSet, ) -> Result<TessellatedGeometricSetId, AuthorError>

TESSELLATED_GEOMETRIC_SET — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_trimmed_curve_cyclic( &mut self, build: impl FnOnce(TrimmedCurveId) -> TrimmedCurve, ) -> Result<TrimmedCurveId, AuthorError>

TRIMMED_CURVE — self-referencing variant: the closure receives the id this entity will get, so a field may reference the entity itself. Validation runs after insertion; on error the insertion is rolled back.

Source

pub fn add_complex( &mut self, parts: Vec<UnitPart>, ) -> Result<ComplexUnitId, AuthorError>

Complex (multi-part) instance — rule-based strict AP242 assembler. The part-name set is validated by the schema name-set rule (legality, supertype-chain completeness, connectivity, ONEOF exclusivity), then every reference field is checked; parts are stored in Part 21 order (alphabetical).

Trait Implementations§

Source§

impl Default for Ap242Author

Source§

fn default() -> Ap242Author

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.