mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 18:32:35 +08:00
57 lines
1.5 KiB
Java
Executable File
57 lines
1.5 KiB
Java
Executable File
// Java Native Class from Cas.Cade
|
|
// Copyright (C) 1991,1999 by
|
|
//
|
|
// MATRA DATAVISION, FRANCE
|
|
//
|
|
// This software is furnished in accordance with the terms and conditions
|
|
// of the contract and with the inclusion of the above copyright notice.
|
|
// This software or any other copy thereof may not be provided or otherwise
|
|
// be made available to any other person. No title to an ownership of the
|
|
// software is hereby transferred.
|
|
//
|
|
// At the termination of the contract, the software and all copies of this
|
|
// software must be deleted.
|
|
//
|
|
|
|
|
|
package CASCADESamplesJni;
|
|
|
|
import jcas.Object;
|
|
import CASCADESamplesJni.Aspect_MarkMapEntry;
|
|
import jcas.Standard_Integer;
|
|
import CASCADESamplesJni.Aspect_MarkerStyle;
|
|
|
|
|
|
public class Aspect_MarkMap extends CASCADESamplesJni.MMgt_TShared {
|
|
|
|
static {
|
|
System.loadLibrary("CASCADESamplesJni");
|
|
}
|
|
|
|
public Aspect_MarkMap() {
|
|
Aspect_MarkMap_Create_0();
|
|
}
|
|
|
|
private final native void Aspect_MarkMap_Create_0();
|
|
|
|
final public void AddEntry(Aspect_MarkMapEntry AnEntry) {
|
|
Aspect_MarkMap_AddEntry_1(AnEntry);
|
|
}
|
|
|
|
private final native void Aspect_MarkMap_AddEntry_1(Aspect_MarkMapEntry AnEntry);
|
|
|
|
final public int AddEntry(Aspect_MarkerStyle aStyle) {
|
|
return Aspect_MarkMap_AddEntry_2(aStyle);
|
|
}
|
|
|
|
private final native int Aspect_MarkMap_AddEntry_2(Aspect_MarkerStyle aStyle);
|
|
|
|
native public final int Size();
|
|
native public final int Index(int aMarkmapIndex);
|
|
native public final void Dump();
|
|
native public final Aspect_MarkMapEntry Entry(int AnIndex);
|
|
|
|
|
|
|
|
}
|