Skip to content

Confusion about the result of tutorial PlanarSectioning #47

@lavender-lee

Description

@lavender-lee

When I run the tutorial named "PlanarSectioning", I got the following console log:

write OFF file: F:/mcut/build/tutorials/OUT_conncomp0.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp1.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp2.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp3.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp4.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp5.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp6.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp7.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp8.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp9.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp10.off
write OFF file: F:/mcut/build/tutorials/OUT_conncomp11.off

image

It generates 11 polygon models, why?

In addition, I would like to know the meaning of normal and sectionOffset . How to define the a cutting plane? Thanks!

const McDouble normal[] = {0, 1, 1}; // can point in any direction
const McDouble sectionOffset = 0.45;

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions